diff --git a/client/css/style.css b/client/css/style.css index b4bc2f93..70a71b2e 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -108,13 +108,6 @@ body { overflow: hidden; /* iOS Safari requires overflow rather than overflow-y */ } -@media screen and (orientation: portrait) { - /* Allow the main chat interface to merge into the background. */ - body { - background: white; - } -} - body.force-no-select * { user-select: none !important; } @@ -2662,8 +2655,8 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */ #sidebar { display: flex; background: var(--body-bg-color); - height: 100vh; - padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); + height: 100%; + padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); position: absolute; left: -220px; z-index: 10; diff --git a/client/themes/default.css b/client/themes/default.css index e8c8488a..fc473250 100644 --- a/client/themes/default.css +++ b/client/themes/default.css @@ -15,12 +15,6 @@ box-shadow: 0 0 25px rgb(0 0 0 / 50%); } -@media screen and (orientation: portrait) { - .window { - box-shadow: 0 0 0; - } -} - @media (max-width: 768px) { #loading .window { margin: 0;