aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu/menu.component.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-27 18:25:00 +0200
committerChocobozzz <me@florianbigard.com>2021-06-28 10:54:02 +0200
commit8cbc40b2fe9d36ef0505b9441276ca561342e9e9 (patch)
tree5777288d76c0926f5b4484e2689d0fe741462a36 /client/src/app/menu/menu.component.scss
parentfa12eacc014aae8094d108634371640f2695bf9f (diff)
downloadPeerTube-8cbc40b2fe9d36ef0505b9441276ca561342e9e9.tar.gz
PeerTube-8cbc40b2fe9d36ef0505b9441276ca561342e9e9.tar.zst
PeerTube-8cbc40b2fe9d36ef0505b9441276ca561342e9e9.zip
Move to sass module
Diffstat (limited to 'client/src/app/menu/menu.component.scss')
-rw-r--r--client/src/app/menu/menu.component.scss7
1 files changed, 4 insertions, 3 deletions
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss
index ee986a66b..aad7fd5da 100644
--- a/client/src/app/menu/menu.component.scss
+++ b/client/src/app/menu/menu.component.scss
@@ -1,5 +1,6 @@
1@use '_variables'; 1@use 'sass:math';
2@use '_mixins'; 2@use '_variables' as *;
3@use '_mixins' as *;
3 4
4$menu-link-icon-size: 22px; 5$menu-link-icon-size: 22px;
5$menu-link-icon-margin-right: 18px; 6$menu-link-icon-margin-right: 18px;
@@ -220,7 +221,7 @@ my-actor-avatar {
220 221
221 a { 222 a {
222 $icon-size: 13px; 223 $icon-size: 13px;
223 $additional-margin: ($menu-link-icon-size - $icon-size) / 2; 224 $additional-margin: math.div($menu-link-icon-size - $icon-size, 2);
224 225
225 font-size: 14px; 226 font-size: 14px;
226 width: 100%; 227 width: 100%;