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, ...
This commit is contained in:
Jérémie Astori 2016-08-19 01:16:54 -04:00
parent 36a21bacac
commit f509e9fe5a
4 changed files with 12 additions and 3 deletions

View File

@ -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;

View File

@ -38,6 +38,9 @@ a:hover,
right: 0;
bottom: 0;
top: 0;
}
#windows .window {
border-radius: 0;
}

View File

@ -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;
}

View File

@ -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;
}