Procházet zdrojové kódy

fix sidebar's width

AlexiCauvin před 8 roky
rodič
revize
5f2f498fa8
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      src/css/Generic.styl
  2. 1 1
      src/css/Sidebar.styl

+ 1 - 1
src/css/Generic.styl Zobrazit soubor

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

+ 1 - 1
src/css/Sidebar.styl Zobrazit soubor

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