Commit 8bb11c52 by Reda Lemeden

Fixed sidebar and question list layout in smaller resolutions

parent d7fff540
...@@ -39,6 +39,7 @@ body.askbot { ...@@ -39,6 +39,7 @@ body.askbot {
div.discussion-content { div.discussion-content {
@include box-sizing(border-box); @include box-sizing(border-box);
display: table-cell; display: table-cell;
min-width: 650px;
padding: lh(); padding: lh();
vertical-align: top; vertical-align: top;
width: flex-grid(9) + flex-gutter(); width: flex-grid(9) + flex-gutter();
......
...@@ -87,11 +87,13 @@ div.question-list-header { ...@@ -87,11 +87,13 @@ div.question-list-header {
} }
ul.tags li { ul.tags {
background: #fff; li {
background: #fff;
&:before { &:before {
border-color: transparent #fff transparent transparent; border-color: transparent #fff transparent transparent;
}
} }
} }
} }
...@@ -145,6 +147,7 @@ ul.question-list, div#question-list { ...@@ -145,6 +147,7 @@ ul.question-list, div#question-list {
div.user-info { div.user-info {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
margin-bottom: 10px;
span.relative-time { span.relative-time {
font-weight: normal; font-weight: normal;
......
...@@ -7,6 +7,10 @@ div.discussion-wrapper aside { ...@@ -7,6 +7,10 @@ div.discussion-wrapper aside {
padding: lh(); padding: lh();
width: flex-grid(3); width: flex-grid(3);
&.main-sidebar {
min-width:200px;
}
h1 { h1 {
@extend .bottom-border; @extend .bottom-border;
margin: (-(lh())) (-(lh())) 0; margin: (-(lh())) (-(lh())) 0;
...@@ -26,8 +30,15 @@ div.discussion-wrapper aside { ...@@ -26,8 +30,15 @@ div.discussion-wrapper aside {
box-shadow: none; box-shadow: none;
} }
input[type="text"] { div.inputs {
width: 76%; input[type="submit"] {
width: 27%;
float: right;
}
input[type="text"] {
width: 62%;
}
} }
div.box { div.box {
......
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