Skip to content

Commit d121e39

Browse files
committed
minor #432 Design tweaks for small screens (javiereguiluz)
This PR was merged into the master branch. Discussion ---------- Design tweaks for small screens A typical problem I see with lots of Bootstrap-based templates is that they look awful in a very specific range of page widths. When the browser window is not too small and not too big, the template constraints the container width too much. This PR tries to fix this. | Before | After | --- | --- | ![before_container](https://cloud.githubusercontent.com/assets/73419/21886280/5ec58cfa-d8bb-11e6-9b00-fb72cfa30ce4.png) | ![after_container](https://cloud.githubusercontent.com/assets/73419/21886283/5ff8869a-d8bb-11e6-80e4-20c87b9fd059.png) Commits ------- 85c58b0 Design tweaks for small screens
2 parents 3024209 + 85c58b0 commit d121e39

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

web/css/main.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,3 +244,9 @@ body#admin_post_index .item-actions {
244244
body#admin_post_index .item-actions a.btn + a.btn {
245245
margin-left: 4px
246246
}
247+
248+
@media (min-width: 768px) and (max-width: 1200px) {
249+
.container {
250+
width: 98%;
251+
}
252+
}

0 commit comments

Comments
 (0)