Skip to content

Commit

Permalink
Fix filepicker button layout on safari
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Jul 17, 2018
1 parent f78db18 commit c90d7c1
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions core/css/jquery.ocdialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
background-image: linear-gradient(rgba(255, 255, 255, 0.0), var(--color-main-background));
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
clear: both;
button {
display: inline-block;
}
}
/* align primary button to right, other buttons to left */
.oc-dialog-buttonrow.twobuttons button:nth-child(1) {
Expand All @@ -47,14 +51,6 @@
.oc-dialog-buttonrow.onebutton button {
float: right;
}
.oc-dialog-buttonrow:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}

.oc-dialog-close {
position: absolute;
Expand Down

0 comments on commit c90d7c1

Please sign in to comment.