diff options
author | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-07-12 09:22:20 +0300 |
---|---|---|
committer | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-07-12 09:22:20 +0300 |
commit | 3f676232af56a272148cf8cff0cbcb78a3d7eb4a (patch) | |
tree | 0fe99fce083b70990e2e7f80c1e8e4124df93843 /src/views/Operations | |
parent | 1a71a3d8c56d11b912b4aa3fdcb64935ac414a34 (diff) | |
download | webui-vue-3f676232af56a272148cf8cff0cbcb78a3d7eb4a.tar.xz |
fix tables global styles
Diffstat (limited to 'src/views/Operations')
-rw-r--r-- | src/views/Operations/ConsoleSettings/ConsoleSettings.vue | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/src/views/Operations/ConsoleSettings/ConsoleSettings.vue b/src/views/Operations/ConsoleSettings/ConsoleSettings.vue index 21b3ead9..ecc2150f 100644 --- a/src/views/Operations/ConsoleSettings/ConsoleSettings.vue +++ b/src/views/Operations/ConsoleSettings/ConsoleSettings.vue @@ -8,7 +8,8 @@ <b-table responsive="md" show-empty - class="bootstrap-rounded-table" + class="table-rounded" + no-border-collapse :items="systems" :fields="fields" :empty-text="$t('global.table.emptyMessage')" @@ -66,11 +67,8 @@ <script> import PageTitle from '@/components/Global/PageTitle'; -// import BMCConfigurationTable from './BMCConfigurationTable'; -// import BMCConfigurationControl from './BMCConfigurationControl'; import PageSection from '@/components/Global/PageSection'; import BVToastMixin from '@/components/Mixins/BVToastMixin'; -// import iconChevronUp from '@carbon/icons-vue/es/chevron--up/16'; import TableRowExpandMixin, { expandRowLabel, } from '@/components/Mixins/TableRowExpandMixin'; @@ -79,8 +77,6 @@ import iconChevron from '@carbon/icons-vue/es/chevron--down/16'; export default { components: { PageTitle, - // BMCConfigurationControl, - // BMCConfigurationTable, PageSection, }, mixins: [BVToastMixin, TableRowExpandMixin], @@ -93,18 +89,12 @@ export default { key: 'attributes', label: 'Атрибуты', formatter: this.dataFormatter, - thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', - class: 'bootstrap-rounded-table__column-first', - tdClass: 'regular-12px bootstrap-rounded-table__td', }, { key: 'value', label: 'Значение', formatter: this.dataFormatter, - thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', - class: `bootstrap-rounded-table__column-last - bootstrap-rounded-table__column-last___console`, - tdClass: 'regular-12px bootstrap-rounded-table__td', + thStyle: { width: '30%' }, }, ], iconChevron, @@ -135,11 +125,6 @@ export default { }, }; </script> -<style lang="scss"> -.bootstrap-rounded-table__column-last___console { - width: 30%; -} -</style> <style lang="scss" scoped> .row { margin: 0px; @@ -166,8 +151,4 @@ export default { height: 36px; margin-right: 0.5rem; } - -.bootstrap-table__section { - width: auto; -} </style> |