From c90d7c15e98b35ae98c6a08bc92271348c3db72e Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Tue, 17 Jul 2018 14:37:18 +0200 Subject: Fix filepicker button layout on safari MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- core/css/jquery.ocdialog.scss | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/core/css/jquery.ocdialog.scss b/core/css/jquery.ocdialog.scss index 991ef8495ea..775393406ff 100644 --- a/core/css/jquery.ocdialog.scss +++ b/core/css/jquery.ocdialog.scss @@ -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) { @@ -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; -- cgit v1.2.3