diff --git a/crates/app/src/public/css/style.css b/crates/app/src/public/css/style.css index c9d77b7..c4d67f6 100644 --- a/crates/app/src/public/css/style.css +++ b/crates/app/src/public/css/style.css @@ -162,8 +162,12 @@ p { margin-bottom: 0; } -.post_right { - max-width: calc(84% + 4px); +.post_right:not(.repost) { + max-width: calc(100% - 52px); +} + +.rhs { + width: 100% !important; } .name { @@ -183,8 +187,8 @@ p { max-width: unset; } - .post_right { - max-width: calc(91% + 4px); + .rhs { + width: calc(100% - 23rem) !important; } } @@ -1488,3 +1492,14 @@ align.center { align.right { text-align: right; } + +/* lhs, rhs */ +.rhs { + width: calc(100% - 23rem) !important; +} + +@media screen and (max-width: 900px) { + .rhs { + width: 100% !important; + } +} diff --git a/crates/app/src/public/html/components.html b/crates/app/src/public/html/components.html index 472f1f6..6c3755b 100644 --- a/crates/app/src/public/html/components.html +++ b/crates/app/src/public/html/components.html @@ -114,45 +114,14 @@ secondary=false) -%} {%- endmacro %} {% macro repost(repost, post, owner, secondary=false, community=false, show_community=true, can_manage_post=false) -%}