yohei0125 3 лет назад
Родитель
Сommit
ce64af42b8

+ 44 - 0
packages/app/src/components/Sidebar.module.scss

@@ -163,7 +163,51 @@
     .grw-btn-reload {
       font-size: 18px;
     }
+    .grw-recent-changes-resize-button {
+      font-size: 12px;
+      line-height: normal;
+      transform: translateY(-2px);
+
+      .custom-control-label::before {
+        padding-left: 16px;
+        content: 'L';
+      }
+
+      .custom-control-input:checked + .custom-control-label::before {
+        padding-left: 5px;
+        content: 'S';
+      }
+    }
+  }
+
+  .list-group {
+    .list-group-item {
+      .grw-recent-changes-item-lower {
+        height: 17.5px;
+      }
+      .footstamp-icon {
+        svg {
+          width: 14px;
+          height: 14px;
+          transform: translateY(-3.5px);
+        }
+      }
+
+      .grw-list-counts {
+        height: 14px;
+        font-size: 12px;
+      }
+
+      .grw-formatted-distance-date {
+        font-size: 10px;
+      }
+
+      .icon-lock {
+        font-size: 14px;
+      }
+    }
   }
+
 }
 
 

+ 0 - 45
packages/app/src/styles/_recent-changes.scss

@@ -1,45 +0,0 @@
-.grw-sidebar-content-header {
-  .grw-recent-changes-resize-button {
-    font-size: 12px;
-    line-height: normal;
-    transform: translateY(-2px);
-
-    .custom-control-label::before {
-      padding-left: 16px;
-      content: 'L';
-    }
-
-    .custom-control-input:checked + .custom-control-label::before {
-      padding-left: 5px;
-      content: 'S';
-    }
-  }
-}
-
-.list-group {
-  .list-group-item {
-    .grw-recent-changes-item-lower {
-      height: 17.5px;
-    }
-    .footstamp-icon {
-      svg {
-        width: 14px;
-        height: 14px;
-        transform: translateY(-3.5px);
-      }
-    }
-
-    .grw-list-counts {
-      height: 14px;
-      font-size: 12px;
-    }
-
-    .grw-formatted-distance-date {
-      font-size: 10px;
-    }
-
-    .icon-lock {
-      font-size: 14px;
-    }
-  }
-}