mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 04:23:13 +00:00
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:
parent
36a21bacac
commit
f509e9fe5a
4 changed files with 12 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -38,6 +38,9 @@ a:hover,
|
|||
right: 0;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
#windows .window {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue