yuken 3 лет назад
Родитель
Сommit
cd114d227c
1 измененных файлов с 13 добавлено и 3 удалено
  1. 13 3
      packages/app/src/components/Navbar/GrowiSubNavigation.module.scss

+ 13 - 3
packages/app/src/components/Navbar/GrowiSubNavigation.module.scss

@@ -6,6 +6,10 @@
   height: 40px;
   height: 40px;
 }
 }
 
 
+%compact-subnav-buttons-height {
+  height: 32px;
+}
+
 // https://github.com/css-modules/css-modules/issues/295#issuecomment-404873976
 // https://github.com/css-modules/css-modules/issues/295#issuecomment-404873976
 // workaround to use '&' in global scope
 // workaround to use '&' in global scope
 .grw-subnav {
 .grw-subnav {
@@ -42,6 +46,7 @@
 
 
     .btn-skelton {
     .btn-skelton {
       @extend %subnav-buttons-height;
       @extend %subnav-buttons-height;
+      width: 100%;
     }
     }
 
 
     .btn-subscribe {
     .btn-subscribe {
@@ -143,17 +148,22 @@
         min-height: 90px;
         min-height: 90px;
       }
       }
 
 
+      .btn-skelton {
+        @extend %compact-subnav-buttons-height;
+        width: 100%;
+      }
+
       .btn-like,
       .btn-like,
       .btn-bookmark,
       .btn-bookmark,
       .btn-subscribe {
       .btn-subscribe {
         width: 32px;
         width: 32px;
-        height: 32px;
+        @extend %compact-subnav-buttons-height;
         padding: 4px;
         padding: 4px;
         font-size: 16px;
         font-size: 16px;
       }
       }
       .btn-seen-user {
       .btn-seen-user {
         width: 48px;
         width: 48px;
-        height: 32px;
+        @extend %compact-subnav-buttons-height;
         padding: 4px;
         padding: 4px;
         font-size: 16px;
         font-size: 16px;
 
 
@@ -164,7 +174,7 @@
       }
       }
       .btn-page-item-control {
       .btn-page-item-control {
         width: 32px;
         width: 32px;
-        height: 32px;
+        @extend %compact-subnav-buttons-height;
         font-size: 12px;
         font-size: 12px;
       }
       }
     }
     }