Commit 3f09848a by Reda Lemeden

Fixed article list width bug

parent 41488fa3
...@@ -79,16 +79,16 @@ div.wiki-wrapper { ...@@ -79,16 +79,16 @@ div.wiki-wrapper {
} }
h2.wiki-title { h2.wiki-title {
margin-top: 0; @include box-sizing(border-box);
display: inline-block;
float: left;
margin-bottom: 15px; margin-bottom: 15px;
width: flex-grid(4, 9); margin-top: 0;
padding-right: flex-gutter(9); padding-right: flex-gutter(9);
border-right: 1px dashed #ddd;
@include box-sizing(border-box);
display: table-cell;
vertical-align: top; vertical-align: top;
width: flex-grid(2.5, 9);
@media screen and (max-width:1120px) { @media screen and (max-width:900px) {
display: block; display: block;
width: auto; width: auto;
border-right: 0; border-right: 0;
...@@ -106,14 +106,19 @@ div.wiki-wrapper { ...@@ -106,14 +106,19 @@ div.wiki-wrapper {
} }
section.results { section.results {
display: table-cell; @include box-sizing(border-box);
width: flex-grid(5, 9); display: inline-block;
padding-left: flex-gutter(9); border-left: 1px dashed #ddd;
float: left;
@media screen and (max-width:1120px) { padding-left: 10px;
width: flex-grid(6.5, 9);
@media screen and (max-width:900px) {
border: 0;
display: block; display: block;
padding-left: 0;
width: 100%;
width: auto; width: auto;
padding: 0;
} }
@media print { @media print {
...@@ -128,6 +133,11 @@ div.wiki-wrapper { ...@@ -128,6 +133,11 @@ div.wiki-wrapper {
ul.article-list { ul.article-list {
margin-left: 15px; margin-left: 15px;
width: 100%;
@media screen and (max-width:900px) {
margin-left: 0px;
}
li { li {
list-style: none; list-style: none;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment