2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

Scoped styles in Table.vue

This commit is contained in:
Faris Ansari 2018-10-15 17:37:54 +05:30
parent 2614ff8230
commit e436f0c20e

View File

@ -290,32 +290,29 @@ export default {
}
};
</script>
<style>
.table-cell .form-control {
<style lang="scss" scoped>
td {
padding: 0;
outline: none;
}
.table-cell {
padding: 0.75rem;
border: 1px solid transparent;
&.active {
border: 1px solid var(--blue);
}
}
.form-control, .form-group .form-control {
padding: 0;
border: none;
box-shadow: none;
outline: none;
}
.table td {
padding: 0;
}
.table-cell {
padding: 0.75rem;
border: 1px solid transparent;
}
.table [data-fieldtype='Link'] .input-group-append {
[data-fieldtype='Link'] .input-group-append {
display: none;
}
td {
outline: none;
}
.table-cell.active {
border: 1px solid var(--blue);
}
</style>