diff --git a/static/styles/zulip.css b/static/styles/zulip.css index cf14dac09b..965cd0e5c7 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -1,10 +1,11 @@ body, html { width: 100%; + overflow-x: hidden; } body { font-family: 'Humbug', 'Helvetica Neue', Helvetica, Arial, sans-serif; - overflow-y: scroll; + overflow-y: auto; } /* Common background color */ @@ -2250,7 +2251,7 @@ div.edit_bot { } #home { - margin-top: 40px; + margin-top: 41px; } #settings-change-box .gravatar-profile { @@ -2371,7 +2372,7 @@ div.edit_bot { } -@media (max-width: 950px) { +@media (max-width: 975px) { .screen-full-show { display: none !important; @@ -2438,7 +2439,7 @@ div.edit_bot { } -@media (max-width: 767px) { +@media (max-width: 775px) { body { padding: 0px; @@ -2456,10 +2457,6 @@ div.edit_bot { min-width: 350px; } - body, html { - overflow-x: scroll; - } - .column-middle, .app-main .column-middle { margin-left: 0px; margin-right: 0px; @@ -2487,6 +2484,12 @@ div.edit_bot { } } +@media (max-width: 350px) { + html { + overflow-x: scroll; + } +} + /* @media (max-width: 480px) {