aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-04-29 16:21:07 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commit5a6470966f7468e10453d6a127960a567e8b4cc8 (patch)
treec458b57fb27cc7353375cfad0a89d283856c7fff /vnext/src/ui
parentc9275ebdeb200c0d20a84115edbc5c6868aec448 (diff)
Layout changes from legacy site
Diffstat (limited to 'vnext/src/ui')
-rw-r--r--vnext/src/ui/Message.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/vnext/src/ui/Message.css b/vnext/src/ui/Message.css
index 9bcca83b..06ad5270 100644
--- a/vnext/src/ui/Message.css
+++ b/vnext/src/ui/Message.css
@@ -1,3 +1,6 @@
+@custom-media --viewport-desktop (width >=62.5rem);
+@custom-media --viewport-mobile (width < 62.5rem);
+
.msg-cont .ir {
padding: 12px;
}
@@ -231,3 +234,9 @@ blockquote {
.msg-cont .nsfw .ir img:hover {
opacity: 1;
}
+
+@media (--viewport-desktop) {
+ .msg-cont {
+ width: 640px;
+ }
+}