mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-01 21:25:18 +00:00
Avoid showing gradients in especially small windows
This commit is contained in:
@@ -81,6 +81,7 @@ body {
|
|||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-height: 330px) {
|
||||||
body[data-background="gradient"]::before {
|
body[data-background="gradient"]::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@@ -96,6 +97,7 @@ body[data-background="gradient"][data-platform="desktop"]::before {
|
|||||||
background-size: calc(max(1440px, 100vw)) calc(max(800px, 100vh));
|
background-size: calc(max(1440px, 100vw)) calc(max(800px, 100vh));
|
||||||
background-position: center;
|
background-position: center;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* This prohibits the view to scroll for pages smaller than 122px in width
|
/* This prohibits the view to scroll for pages smaller than 122px in width
|
||||||
we use this for mobile pip webviews */
|
we use this for mobile pip webviews */
|
||||||
|
|||||||
Reference in New Issue
Block a user