Skip to content

Commit

Permalink
Merge pull request #572 from thelounge/astorije/fix-radiuses-again
Browse files Browse the repository at this point in the history
Move border-radius from #main to .window elements to fix radius once and for all
  • Loading branch information
maxpoulin64 committed Sep 4, 2016
2 parents 5332909 + f509e9f commit 7f6dfe1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
4 changes: 1 addition & 3 deletions client/css/style.css
Expand Up @@ -546,11 +546,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;
Expand Down Expand Up @@ -610,6 +607,7 @@ button {

#windows .window {
background: #fff;
border-radius: 2px;
bottom: 0;
display: none;
left: 0;
Expand Down
3 changes: 3 additions & 0 deletions client/themes/crypto.css
Expand Up @@ -38,6 +38,9 @@ a:hover,
right: 0;
bottom: 0;
top: 0;
}

#windows .window {
border-radius: 0;
}

Expand Down
4 changes: 4 additions & 0 deletions client/themes/morning.css
Expand Up @@ -68,12 +68,16 @@ body {
left: 0;
bottom: 0;
width: 220px;
border-radius: 0;
}

#main {
top: 0;
bottom: 0;
right: 0;
}

#windows .window {
border-radius: 0;
}

Expand Down
4 changes: 4 additions & 0 deletions client/themes/zenburn.css
Expand Up @@ -95,12 +95,16 @@ body {
left: 0;
bottom: 0;
width: 220px;
border-radius: 0;
}

#main {
top: 0;
bottom: 0;
right: 0;
}

#windows .window {
border-radius: 0;
}

Expand Down

0 comments on commit 7f6dfe1

Please sign in to comment.