ソースを参照

fix sidebar's width

AlexiCauvin 6 年 前
コミット
5f2f498fa8
共有2 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 1 1
      src/css/Generic.styl
  2. 1 1
      src/css/Sidebar.styl

+ 1 - 1
src/css/Generic.styl ファイルの表示

@@ -56,7 +56,7 @@ a
56 56
   min-height calc(100% - 50px)
57 57
 
58 58
 .pageWrapperGeneric
59
-  width 100%
59
+  width calc(100% - 300px) // 300px => width of the sidebar
60 60
   &__header
61 61
     display flex
62 62
   &__content

+ 1 - 1
src/css/Sidebar.styl ファイルの表示

@@ -2,7 +2,7 @@
2 2
   position absolute
3 3
   left 0
4 4
   display none
5
-  border 1px solid darkBlue
5
+  border 1px solid thirdColor
6 6
   border-top-width 2px
7 7
   padding 11px 15px
8 8
   background-color blue