mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-22 03:05:15 +00:00
Settings capitalizations limited to first word
This commit is contained in:
parent
be9c564199
commit
3c58bc1976
1 changed files with 10 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
>
|
||||
<v-btn
|
||||
text
|
||||
class="entry text-left text-capitalize no-spacing"
|
||||
class="entry text-left setting-btn no-spacing"
|
||||
:to="item.to"
|
||||
:disabled="item.disabled"
|
||||
:style="{
|
||||
|
@ -49,7 +49,7 @@
|
|||
<v-btn
|
||||
v-if="devmode"
|
||||
text
|
||||
class="entry text-left text-capitalize no-spacing"
|
||||
class="entry text-left setting-btn no-spacing"
|
||||
to="/mods/developer"
|
||||
:style="{
|
||||
borderRadius: `${$store.state.tweaks.roundTweak / 2}rem`,
|
||||
|
@ -154,6 +154,14 @@ export default {
|
|||
</script>
|
||||
|
||||
<style scoped>
|
||||
.setting-btn {
|
||||
/* overrides Vuetify defaults (all caps) */
|
||||
text-transform: none !important;
|
||||
}
|
||||
.setting-btn:first-letter {
|
||||
/* Capitalizes first-letter only */
|
||||
text-transform: uppercase !important;
|
||||
}
|
||||
.entry {
|
||||
width: 100%;
|
||||
font-size: 1.2em;
|
||||
|
|
Loading…
Reference in a new issue