[Libreoffice-commits] online.git: loleaflet/css loleaflet/src
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Sun Oct 6 19:54:12 UTC 2019
loleaflet/css/toolbar.css | 4 ++--
loleaflet/src/control/Control.JSDialogBuilder.js | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 3294ae90b0e11632d896fbfecd49795459a1a13f
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Sun Oct 6 21:53:41 2019 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Sun Oct 6 21:53:41 2019 +0200
jsdialogs: remove border around icons
Change-Id: I293377b8ffe3b3ddd18cf9c25b6f19bc96d9c65f
diff --git a/loleaflet/css/toolbar.css b/loleaflet/css/toolbar.css
index b726377ae..577f76712 100644
--- a/loleaflet/css/toolbar.css
+++ b/loleaflet/css/toolbar.css
@@ -810,8 +810,8 @@ tr.useritem > td > img {
}
.ui-content .unobutton {
- min-width: 32px;
- min-height: 32px;
+ width: 32px;
+ height: 32px;
margin-right: 5px;
}
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index f4b4e3d26..89b87a8e5 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -338,7 +338,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
var icon = builder._createIconPathFronUnoCommand(data.command);
button = L.DomUtil.create('img', 'ui-content unobutton', span);
- $(button).css('background', 'url(' + icon + ')');
+ button.src = icon;
button.id = id;
var label = L.DomUtil.create('label', 'ui-content unolabel', span);
More information about the Libreoffice-commits
mailing list