0
0
Fork 0
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:
Nikita Krupin 2022-07-19 19:13:01 -04:00
parent be9c564199
commit 3c58bc1976

View file

@ -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;