Skip to content

Open source personal finance application

fix (currency modal): fix styles

ilkomef44818234b88
diff --git a/components/currencies/CurrencyModal.vue b/components/currencies/CurrencyModal.vue
index 76448071..b3030d69 100644
--- a/components/currencies/CurrencyModal.vue
+++ b/components/currencies/CurrencyModal.vue
@@ -57,5 +57,4 @@ Portal(
color var(--c-font-1)
background var(--c-blue-1)
border none
-
</style>
diff --git a/components/wallets/form/WalletForm.vue b/components/wallets/form/WalletForm.vue
index d993fe84..e728b8fa 100644
--- a/components/wallets/form/WalletForm.vue
+++ b/components/wallets/form/WalletForm.vue
@@ -211,7 +211,7 @@ LayoutComponentWrap
</template>
<style lang="stylus" scoped>
-@import "~assets/stylus/variables"
+@import '~assets/stylus/variables'
.customColor
margin (- $m7)
@@ -283,4 +283,31 @@ LayoutComponentWrap
margin 0
padding 0
font-size 10px
+
+.currencies
+ display grid
+ grid-template-columns repeat(auto-fill, minmax(120px, 1fr))
+ grid-column-gap $m7
+ grid-row-gap $m7
+
+ &__item
+ cursor pointer
+ display flex
+ align-items center
+ justify-content center
+ height 44px
+ padding $m6
+ text-align center
+ border 1px solid var(--c-bg-6)
+ border-radius $m4
+
+ +media-hover()
+ &:not(._active)
+ background var(--c-bg-6)
+
+ &._active
+ cursor default
+ color var(--c-font-1)
+ background var(--c-blue-1)
+ border none
</style>