Fix multiple-column padding

lolsob-rspec
Thibaut Girka 2019-06-12 20:49:56 +02:00 committed by ThibG
parent aabf4ab1a4
commit 4d91fddc2e
1 changed files with 36 additions and 0 deletions

View File

@ -552,6 +552,42 @@
}
}
.column,
.drawer {
flex: 1 1 100%;
overflow: hidden;
}
@media screen and (min-width: 631px) {
.columns-area {
padding: 0;
}
.column,
.drawer {
flex: 0 0 auto;
padding: 10px;
padding-left: 5px;
padding-right: 5px;
&:first-child {
padding-left: 10px;
}
&:last-child {
padding-right: 10px;
}
}
.columns-area > div {
.column,
.drawer {
padding-left: 5px;
padding-right: 5px;
}
}
}
.tabs-bar {
box-sizing: border-box;
display: flex;