aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-03-04 06:25:48 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-03-04 06:25:48 +0300
commit179d694b6dd0d4019c8a711c1ccee42c52e689c6 (patch)
treea5b7e1301bee90f559fda5967d62a6c6da1fcdda
parenteeb84c5be16ecca239adae9c851bc0f7db0875a1 (diff)
css fixes
-rw-r--r--htdocs/scss/app/blog.scss7
-rw-r--r--htdocs/scss/app/common.scss11
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"],