From 1df5e6e855fe868588a61c33b52c4d9bdc590574 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 3 Jul 2017 14:32:54 +0200 Subject: [PATCH] Fix toolbar buttons for Safari --- customize.dist/src/less/toolbar.less | 3 +++ www/drive/file.less | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/customize.dist/src/less/toolbar.less b/customize.dist/src/less/toolbar.less index 3f5cc9ca6..eadcce354 100644 --- a/customize.dist/src/less/toolbar.less +++ b/customize.dist/src/less/toolbar.less @@ -755,6 +755,8 @@ body .cryptpad-toolbar { padding: 0px; margin: 0; &::before { + width: 100%; + text-align: center; padding-top: 4px; } &:hover { @@ -833,6 +835,7 @@ body .cryptpad-toolbar { width: 64px; padding: 0; span { + text-align: center; width: 100%; cursor: default; font-size: 32px; diff --git a/www/drive/file.less b/www/drive/file.less index 2a158cf12..9bb4eccf4 100644 --- a/www/drive/file.less +++ b/www/drive/file.less @@ -621,7 +621,7 @@ span { margin: 0; } button { - height: 100%; + height: 32px; padding: 0 10px; border: none; border-radius: 0;