aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/menu')
-rw-r--r--client/src/app/menu/language-chooser.component.scss4
-rw-r--r--client/src/app/menu/menu.component.scss7
-rw-r--r--client/src/app/menu/notification.component.scss4
3 files changed, 8 insertions, 7 deletions
diff --git a/client/src/app/menu/language-chooser.component.scss b/client/src/app/menu/language-chooser.component.scss
index c9345fc23..04b18af33 100644
--- a/client/src/app/menu/language-chooser.component.scss
+++ b/client/src/app/menu/language-chooser.component.scss
@@ -1,5 +1,5 @@
1@use '_variables'; 1@use '_variables' as *;
2@use '_mixins'; 2@use '_mixins' as *;
3 3
4.help-to-translate { 4.help-to-translate {
5 @include peertube-button-link; 5 @include peertube-button-link;
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%;
diff --git a/client/src/app/menu/notification.component.scss b/client/src/app/menu/notification.component.scss
index 314c2a93b..3515c3e19 100644
--- a/client/src/app/menu/notification.component.scss
+++ b/client/src/app/menu/notification.component.scss
@@ -1,5 +1,5 @@
1@use '_variables'; 1@use '_variables' as *;
2@use '_mixins'; 2@use '_mixins' as *;
3 3
4.content { 4.content {
5 scrollbar-color: auto; 5 scrollbar-color: auto;