Skip to content

Open source personal finance application

Fix trnForm header styles

ilkomeb12722cbc802
diff --git a/src/components/trnForm/TrnFormHeader.vue b/src/components/trnForm/TrnFormHeader.vue
index 165ce360..d993970a 100644
--- a/src/components/trnForm/TrnFormHeader.vue
+++ b/src/components/trnForm/TrnFormHeader.vue
@@ -81,7 +81,7 @@ export default {
.trnFormHeader__name {{ category.name }}
</template>
-<style lang="stylus" scoped>
+<style lang="stylus">
@import "~@/stylus/variables/margins"
@import "~@/stylus/variables/media"
@@ -117,6 +117,12 @@ export default {
&__total
padding-top $m5
+ .amount__wrap
+ justify-content flex-start
+ color var(--c-font-1)
+
+ .amount__wrap._small
+ display none
&__name
font-size 18px
@@ -132,13 +138,3 @@ export default {
border-right-color transparent
border-top-color transparent
</style>
-
-<style lang="stylus">
-.trnFormHeader__total
- .amount__wrap
- justify-content flex-start
- color var(--c-font-1)
-
- .amount__wrap._small
- display none
-</style>