[Libreoffice-commits] online.git: loleaflet/dist

Aditya Dewan aditya.dewan at collabora.co.uk
Tue Jan 23 08:46:15 UTC 2018


 loleaflet/dist/toolbar.css        |    5 +++--
 loleaflet/dist/toolbar/toolbar.js |    4 ++++
 2 files changed, 7 insertions(+), 2 deletions(-)

New commits:
commit 30b44bf37349f9a0d42182f018f377d6d3ce9066
Author: Aditya Dewan <aditya.dewan at collabora.co.uk>
Date:   Sat Dec 16 02:15:35 2017 +0530

    show/hide of document name on top right
    
    Change-Id: I83ae0256c0fdd1c9f61495638ecf9d69f5473790
    Reviewed-on: https://gerrit.libreoffice.org/46576
    Reviewed-by: pranavk <pranavk at collabora.co.uk>
    Tested-by: pranavk <pranavk at collabora.co.uk>

diff --git a/loleaflet/dist/toolbar.css b/loleaflet/dist/toolbar.css
index 31d3d209..daf08ecc 100644
--- a/loleaflet/dist/toolbar.css
+++ b/loleaflet/dist/toolbar.css
@@ -77,9 +77,8 @@
     z-index: 1050;
     right: 35px;
     top: 2px;
-    width: 200px;
+    width: 135px;
     font-size: 16px;
-    //font-weight: bold;
     border: 1px solid transparent;
     background-color: transparent;
 }
@@ -95,6 +94,8 @@
     background-image: url('../images/lc_editdoc.svg');
     background-position: right;
     background-repeat: no-repeat;
+    padding-right: 20px;
+    width: 120px;
 }
 
 #closebuttonwrapper {
diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index 52ffb251..1bd8bb3d 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -74,6 +74,8 @@ function _mobilify() {
 	oneUser = '1';
 	noUser = '0';
 	updateUserListCount();
+
+	$('#document-name-input').hide();
 }
 
 function _unmobilify() {
@@ -105,6 +107,8 @@ function _unmobilify() {
 	oneUser = _('1 user');
 	noUser = _('0 users');
 	updateUserListCount();
+
+	$('#document-name-input').show();
 }
 
 function resizeToolbar() {


More information about the Libreoffice-commits mailing list