diff --git a/ghost/admin/assets/sass/layouts/content.scss b/ghost/admin/assets/sass/layouts/content.scss index b75bfdab7c..4a15e1f844 100644 --- a/ghost/admin/assets/sass/layouts/content.scss +++ b/ghost/admin/assets/sass/layouts/content.scss @@ -200,6 +200,7 @@ @media (max-width: 900px) { width: 100%; border: none; + overflow: visible; } .unfeatured { @@ -217,7 +218,7 @@ .normal { text-transform: none; - margin:0 3px; + margin: 0 3px; } .content-preview-content { @@ -225,8 +226,14 @@ word-break: break-word; hyphens: auto; - @media (max-width:400px) { - padding: 0; + @media (max-width: 900px) { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + overflow: auto; + -webkit-overflow-scrolling: touch; } .wrapper { diff --git a/ghost/admin/assets/sass/layouts/default.scss b/ghost/admin/assets/sass/layouts/default.scss index b06b0fb7ae..fb5a565941 100644 --- a/ghost/admin/assets/sass/layouts/default.scss +++ b/ghost/admin/assets/sass/layouts/default.scss @@ -172,7 +172,6 @@ background: #fff; overflow-y: auto; overflow-x: hidden; - -webkit-overflow-scrolling: touch; @media (max-width: 900px) { top: 44px; diff --git a/ghost/admin/assets/sass/layouts/editor.scss b/ghost/admin/assets/sass/layouts/editor.scss index e5d875826f..2825bb7a32 100644 --- a/ghost/admin/assets/sass/layouts/editor.scss +++ b/ghost/admin/assets/sass/layouts/editor.scss @@ -176,7 +176,7 @@ top: 40px; } @media (max-height: 560px) { - height: calc(100% - 40px); + height: calc(100% - 5px); } &:focus { @@ -426,7 +426,7 @@ body.zen { padding: 0; color: $midgrey; background: darken($darkgrey, 4%); - position: fixed; + position: absolute; bottom: 0; left: 0; right: 0; @@ -701,7 +701,7 @@ body.zen { .post-settings { @include icon($i-settings, 14px); display: inline-block; - padding: 10px; + padding: 8px 10px; color: $midgrey; transition: all 0.15s ease-out 0s; position: relative; diff --git a/ghost/admin/assets/sass/layouts/settings.scss b/ghost/admin/assets/sass/layouts/settings.scss index 8bdba14b69..744da6ae25 100644 --- a/ghost/admin/assets/sass/layouts/settings.scss +++ b/ghost/admin/assets/sass/layouts/settings.scss @@ -138,7 +138,6 @@ // The main content panel on the right .settings-content { - margin-left: 25%; @media (max-width: 900px) { &.fade-in { @@ -146,6 +145,17 @@ } } + @media (min-width: 901px) { + position: absolute; + top: 0; + right: 0; + left: 25%; + bottom: 0; + + overflow: auto; + -webkit-overflow-scrolling: touch; + } + .settings-general img { max-width: 100%; max-height: 400px; @@ -162,6 +172,18 @@ @media (max-width: 550px) { padding-top: 15px; } + + @media (max-width: 900px) { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + overflow-x: hidden; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + } + } // .content .word-count { diff --git a/ghost/admin/assets/sass/layouts/user.scss b/ghost/admin/assets/sass/layouts/user.scss index 6fbdaee76c..a9c495621e 100644 --- a/ghost/admin/assets/sass/layouts/user.scss +++ b/ghost/admin/assets/sass/layouts/user.scss @@ -4,6 +4,14 @@ // Slug: /ghost/settings/users/username/ // -------------------------------------------------- +.content.settings-user { + padding: 0; + + @media (min-width: 901px) { + padding: 0 40px; + } +} + .user-actions-cog { padding: 9px 11px; } @@ -12,7 +20,7 @@ position: relative; width: auto; height: 300px; - margin: 0 40px; + margin: 0; background: #fafafa no-repeat center center; background-size: cover; overflow: hidden; @@ -65,7 +73,7 @@ left: 40px; } @media (min-width: 1001px) { - width: calc(100% - 221px); + width: calc(100% - 181px); } } @@ -77,7 +85,6 @@ } fieldset { - padding: 0 15px 0 40px; @media (max-width: 650px) { padding: 0 40px; } @@ -125,14 +132,6 @@ } -@media (max-width: 550px) { - .user-details-top, - .user-details-bottom { - padding-left: 15px; - padding-right: 15px; - } -} - .user-image { display: block; position: absolute; @@ -144,13 +143,13 @@ @media (max-width: 650px) { top: -159px; - left: -19px; + left: 21px; } width: 126px; height: 126px; float: left; - margin-left: 34px; + margin-left: -6px; margin-right: 20px; text-align: center; border-radius: 100%; diff --git a/ghost/admin/templates/debug.hbs b/ghost/admin/templates/debug.hbs index bec835bc0a..6578315369 100644 --- a/ghost/admin/templates/debug.hbs +++ b/ghost/admin/templates/debug.hbs @@ -1,49 +1,59 @@ -