refactor: use vuetify config defaults for button style
This commit is contained in:
1 parent
67c21ad55c
commit
2b85b88946
2 files changed
+10
-4
No files matched your search
@@ -18,8 +18,4 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
/* Do not force capitalization of button text */
|
|
||||||
.v-btn {
|
|
||||||
text-transform: unset !important;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
@@ -11,6 +11,16 @@ export default createVuetify({
|
|||||||
locale: 'en',
|
locale: 'en',
|
||||||
fallback: 'en'
|
fallback: 'en'
|
||||||
},
|
},
|
||||||
|
defaults: {
|
||||||
|
VBtn: {
|
||||||
|
style: [
|
||||||
|
{
|
||||||
|
// Do not force capitalization of a button text
|
||||||
|
textTransform: 'none'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
icons: {
|
icons: {
|
||||||
defaultSet: 'mdi',
|
defaultSet: 'mdi',
|
||||||
aliases,
|
aliases,
|
||||||
|
|||||||
Reference in new issue
Block a user