瀏覽代碼

Explore: Fix empty space in toolbar on smaller devices (#17110)

Removes the empty space in Explore toolbar when on mobile/tablet.

Co-Authored-By: Hugo Häggmark <hugo.haggmark@gmail.com>
Marcus Efraimsson 6 年之前
父節點
當前提交
2b32e768bd
共有 1 個文件被更改,包括 9 次插入5 次删除
  1. 9 5
      public/sass/pages/_explore.scss

+ 9 - 5
public/sass/pages/_explore.scss

@@ -31,20 +31,24 @@
   flex-flow: row wrap;
   justify-content: flex-start;
   height: auto;
-  padding: 0 $dashboard-padding 0 50px;
+  padding: 0 $dashboard-padding;
   border-bottom: 1px solid #0000;
   transition-duration: 0.35s;
   transition-timing-function: ease-in-out;
   transition-property: box-shadow, border-bottom;
-
-  @include media-breakpoint-up(md) {
-    padding-left: $dashboard-padding;
-  }
 }
 
 .explore-toolbar-item {
   position: relative;
   align-self: center;
+
+  &:first-child {
+    padding-left: 34px;
+
+    @include media-breakpoint-up(md) {
+      padding-left: 0;
+    }
+  }
 }
 
 .explore-toolbar.splitted {