diff options
author | Anna Tsyganova <ATSyganova@IBS.RU> | 2022-06-10 10:08:22 +0300 |
---|---|---|
committer | Anna Tsyganova <ATSyganova@IBS.RU> | 2022-06-10 10:08:22 +0300 |
commit | 58d1eb3b899b730877299be6635adceb127fe6a9 (patch) | |
tree | 22d26261d8193e6489a559f1a50cd0d4d4c811a1 /src/components/Global/PageSection.vue | |
parent | d6d339de0078789cdef367f96c4ea3580e6257e7 (diff) | |
download | webui-vue-58d1eb3b899b730877299be6635adceb127fe6a9.tar.xz |
Fix inventory page
Id task: SILABMC-155
Diffstat (limited to 'src/components/Global/PageSection.vue')
-rw-r--r-- | src/components/Global/PageSection.vue | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/components/Global/PageSection.vue b/src/components/Global/PageSection.vue index dd39ddd5..0521dc06 100644 --- a/src/components/Global/PageSection.vue +++ b/src/components/Global/PageSection.vue @@ -1,6 +1,9 @@ <template> <div class="page-section"> <h2 v-if="sectionTitle">{{ sectionTitle }}</h2> + <span v-if="sectionSmallTitle" class="bold-16px"> + {{ sectionSmallTitle }} + </span> <slot /> </div> </template> @@ -13,17 +16,26 @@ export default { type: String, default: '', }, + sectionSmallTitle: { + type: String, + default: '', + }, }, }; </script> <style lang="scss" scoped> .page-section { - margin-bottom: $spacer * 4; + margin-bottom: $spacer * 1; } h2 { @include font-size($h3-font-size); margin-bottom: $spacer; } + +.bold-16px { + display: block; + margin: 25px 0 16px 0; +} </style> |