aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu/menu.component.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-11-27 14:19:49 +0100
committerChocobozzz <me@florianbigard.com>2019-11-27 14:19:49 +0100
commit24e0d90069e16b7005d78d0d8fa3c8d80fe25b14 (patch)
tree477172072aa969056ad4038376a594b73d986c11 /client/src/app/menu/menu.component.scss
parent20146df217391096e120eedb29b79598121f95d4 (diff)
downloadPeerTube-24e0d90069e16b7005d78d0d8fa3c8d80fe25b14.tar.gz
PeerTube-24e0d90069e16b7005d78d0d8fa3c8d80fe25b14.tar.zst
PeerTube-24e0d90069e16b7005d78d0d8fa3c8d80fe25b14.zip
Fix overflow in menu
Diffstat (limited to 'client/src/app/menu/menu.component.scss')
-rw-r--r--client/src/app/menu/menu.component.scss8
1 files changed, 6 insertions, 2 deletions
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss
index 15eaa1434..0c9519a20 100644
--- a/client/src/app/menu/menu.component.scss
+++ b/client/src/app/menu/menu.component.scss
@@ -145,15 +145,19 @@ menu {
145 margin-bottom: 45px; 145 margin-bottom: 45px;
146 146
147 a { 147 a {
148 @include disable-default-a-behaviour;
149
148 display: flex; 150 display: flex;
149 align-items: center; 151 align-items: center;
150 padding-left: $menu-lateral-padding; 152 padding-left: $menu-lateral-padding;
151 color: var(--menuForegroundColor); 153 color: var(--menuForegroundColor);
152 cursor: pointer; 154 cursor: pointer;
153 height: 40px; 155 min-height: 40px;
154 font-size: 16px; 156 font-size: 16px;
155 transition: background-color .1s ease-in-out; 157 transition: background-color .1s ease-in-out;
156 @include disable-default-a-behaviour; 158 white-space: normal;
159 word-break: break-word;
160 padding-right: 20px;
157 161
158 &.active { 162 &.active {
159 background-color: rgba(255, 255, 255, 0.15); 163 background-color: rgba(255, 255, 255, 0.15);