Merge pull request #572 from thelounge/astorije/fix-radiuses-again

Move border-radius from #main to .window elements to fix radius once and for all
This commit is contained in:
Maxime Poulin 2016-09-03 20:16:17 -04:00 committed by GitHub
commit 7f6dfe1652
4 changed files with 12 additions and 3 deletions

View File

@ -546,11 +546,8 @@ button {
} }
#main { #main {
background: #fff;
border-radius: 2px;
bottom: 4px; bottom: 4px;
left: 220px; left: 220px;
overflow: hidden; /* Without this, border-radius has no effect */
position: absolute; position: absolute;
right: 5px; right: 5px;
top: 4px; top: 4px;
@ -610,6 +607,7 @@ button {
#windows .window { #windows .window {
background: #fff; background: #fff;
border-radius: 2px;
bottom: 0; bottom: 0;
display: none; display: none;
left: 0; left: 0;

View File

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

View File

@ -68,12 +68,16 @@ body {
left: 0; left: 0;
bottom: 0; bottom: 0;
width: 220px; width: 220px;
border-radius: 0;
} }
#main { #main {
top: 0; top: 0;
bottom: 0; bottom: 0;
right: 0; right: 0;
}
#windows .window {
border-radius: 0; border-radius: 0;
} }

View File

@ -95,12 +95,16 @@ body {
left: 0; left: 0;
bottom: 0; bottom: 0;
width: 220px; width: 220px;
border-radius: 0;
} }
#main { #main {
top: 0; top: 0;
bottom: 0; bottom: 0;
right: 0; right: 0;
}
#windows .window {
border-radius: 0; border-radius: 0;
} }