From 179d694b6dd0d4019c8a711c1ccee42c52e689c6 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sat, 4 Mar 2023 06:25:48 +0300 Subject: css fixes --- htdocs/scss/app/blog.scss | 7 +++++-- htdocs/scss/app/common.scss | 11 +++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/htdocs/scss/app/blog.scss b/htdocs/scss/app/blog.scss index 30540ef..980b5d4 100644 --- a/htdocs/scss/app/blog.scss +++ b/htdocs/scss/app/blog.scss @@ -154,8 +154,11 @@ body.wide .blog-post { .blog-post-toc { display: none; } - body.wide .blog-post { - width: auto; + .blog-post { + width: auto !important; + } + .blog-post-wrap2 { + width: 100%; } } diff --git a/htdocs/scss/app/common.scss b/htdocs/scss/app/common.scss index 723c1ff..5e23a52 100644 --- a/htdocs/scss/app/common.scss +++ b/htdocs/scss/app/common.scss @@ -34,10 +34,13 @@ body.full-width .base-width { margin-left: auto; margin-right: auto; } -body.wide .base-width { - max-width: $wide_width; - margin-left: auto; - margin-right: auto; + +@media screen and (min-width: $wide_width) { + body.wide .base-width { + max-width: $wide_width; + margin-left: auto; + margin-right: auto; + } } input[type="text"], -- cgit v1.2.3