From f509e9fe5ab7e9e37bf4954dbe98ffa626c01e67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Fri, 19 Aug 2016 01:16:54 -0400 Subject: [PATCH] Move border-radius from #main to .window elements to fix radius once and for all https://github.com/thelounge/lounge/pull/537 only fixed it on chat windows, but for some browser-specific display bug/reason not on settings, login, ... --- client/css/style.css | 4 +--- client/themes/crypto.css | 3 +++ client/themes/morning.css | 4 ++++ client/themes/zenburn.css | 4 ++++ 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index a9449a68..fc257e9d 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -587,11 +587,8 @@ button { } #main { - background: #fff; - border-radius: 2px; bottom: 4px; left: 220px; - overflow: hidden; /* Without this, border-radius has no effect */ position: absolute; right: 5px; top: 4px; @@ -651,6 +648,7 @@ button { #windows .window { background: #fff; + border-radius: 2px; bottom: 0; display: none; left: 0; diff --git a/client/themes/crypto.css b/client/themes/crypto.css index 51046c54..acbb0366 100644 --- a/client/themes/crypto.css +++ b/client/themes/crypto.css @@ -38,6 +38,9 @@ a:hover, right: 0; bottom: 0; top: 0; +} + +#windows .window { border-radius: 0; } diff --git a/client/themes/morning.css b/client/themes/morning.css index c9af079b..0910ca77 100644 --- a/client/themes/morning.css +++ b/client/themes/morning.css @@ -70,12 +70,16 @@ body { left: 0; bottom: 0; width: 220px; + border-radius: 0; } #main { top: 0; bottom: 0; right: 0; +} + +#windows .window { border-radius: 0; } diff --git a/client/themes/zenburn.css b/client/themes/zenburn.css index 64f83b42..124afa0b 100644 --- a/client/themes/zenburn.css +++ b/client/themes/zenburn.css @@ -97,12 +97,16 @@ body { left: 0; bottom: 0; width: 220px; + border-radius: 0; } #main { top: 0; bottom: 0; right: 0; +} + +#windows .window { border-radius: 0; }