diff options
author | René Gieling <github@dartcafe.de> | 2021-01-03 01:03:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-03 01:03:12 +0300 |
commit | 5a76364c53a268b721e26f36ff626dd84e78a4bf (patch) | |
tree | 4e01720af14857fc31d31c5ffbee60b691ad3f32 /src/js/components/Base | |
parent | 3a4c47523affc3d2282eeb185d8d92e4806ecf8c (diff) | |
parent | db72dae1d3466445b024f841e26b3918c9edb6e6 (diff) |
Merge pull request #1281 from nextcloud/admin-section
Adding admin section
Diffstat (limited to 'src/js/components/Base')
-rw-r--r-- | src/js/components/Base/Badge.vue | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/js/components/Base/Badge.vue b/src/js/components/Base/Badge.vue index 70eda678..a49d57ad 100644 --- a/src/js/components/Base/Badge.vue +++ b/src/js/components/Base/Badge.vue @@ -53,16 +53,23 @@ export default { </script> <style lang="scss" scoped> + h2 .badge { + font-size: 60%; + } + .badge { - border: solid 1px; + // border: solid 1px; border-radius: var(--border-radius); - padding: 1px 4px; - margin: 0 4px; - font-size: 60%; + padding: 5px; + margin: 8px 4px; text-align: center; + line-height: 1.1em; + overflow: hidden; + text-overflow: ellipsis; &.withIcon { - padding-left: 26px; + padding-left: 25px !important; + text-align: left; background-position: 4px center; } |