diff --git a/website/client/src/components/userMenu/profileStats.vue b/website/client/src/components/userMenu/profileStats.vue index e48e0bf72f..9daaf7fdf3 100644 --- a/website/client/src/components/userMenu/profileStats.vue +++ b/website/client/src/components/userMenu/profileStats.vue @@ -17,7 +17,7 @@
@@ -39,9 +39,12 @@ :user="user" /> -

+ {{ label }} -

+
@@ -60,7 +63,7 @@
@@ -68,7 +71,7 @@
@@ -91,12 +94,18 @@ :user="user" /> -

+ {{ label }} -

-

+ + {{ $t('background') }} -

+
@@ -667,9 +676,9 @@ export default { } .item-wrapper { - h3 { - text-align: center; - } + text-align: center; + vertical-align: top; + margin-bottom: 0.5rem; } .pet-mount-row { @@ -684,4 +693,34 @@ export default { .save-row { margin-top: 1em; } + + + .gear.box { + vertical-align: top; + margin: 0 auto; + } + + .gear-label { + margin: 0 auto; + margin-top: 0.5rem; + min-height: 1rem; + font-family: Roboto; + font-size: 12px; + font-weight: bold; + line-height: 1.33; + text-align: center; + color: $gray-200; + + text-overflow: ellipsis; + + // the following 4 lines are needed for the 2 line clamp + // the non-prefixes not supported "anywhere" but these "-webkit"-ones are + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + + // breaks the long words without a space + word-break: break-word; + }