yuken 3 лет назад
Родитель
Сommit
d84a7188ef

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

@@ -5,7 +5,7 @@
 // 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 {
-  :grobal {
+  :global {
     min-height: var.$grw-subnav-min-height;
     min-height: var.$grw-subnav-min-height;
     padding-top: 8px;
     padding-top: 8px;
     padding-bottom: 8px;
     padding-bottom: 8px;

+ 4 - 2
packages/app/src/styles/_tag.scss

@@ -1,3 +1,5 @@
+@use './bootstrap/init' as bs;
+
 .tags-page {
 .tags-page {
   .list-tag-count {
   .list-tag-count {
     background: rgba(0, 0, 0, 0.08);
     background: rgba(0, 0, 0, 0.08);
@@ -8,7 +10,7 @@
   .grw-tag-label {
   .grw-tag-label {
     font-size: 12px;
     font-size: 12px;
     font-weight: normal;
     font-weight: normal;
-    border-radius: $border-radius;
+    border-radius: bs.$border-radius;
   }
   }
 }
 }
 
 
@@ -18,7 +20,7 @@
   .grw-tag-label {
   .grw-tag-label {
     font-size: 10px;
     font-size: 10px;
     font-weight: normal;
     font-weight: normal;
-    border-radius: $border-radius;
+    border-radius: bs.$border-radius;
   }
   }
 }
 }
 
 

+ 1 - 1
packages/app/src/styles/style-next.scss

@@ -62,7 +62,7 @@
 // @import 'sidebar';
 // @import 'sidebar';
 // @import 'sidebar-wiki';
 // @import 'sidebar-wiki';
 // @import 'subnav';
 // @import 'subnav';
-// @import 'tag';
+@import 'tag';
 // @import 'toc';
 // @import 'toc';
 // @import 'user';
 // @import 'user';
 // @import 'staff_credit';
 // @import 'staff_credit';