[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-4' - loleaflet/html

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Feb 22 14:11:28 UTC 2019


 loleaflet/html/loleaflet.html.m4 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 05b07dd794fe980d05e418bc07cc2b203b6e223b
Author:     Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Thu Feb 21 20:50:19 2019 -0500
Commit:     Ashod Nakashian <ashnakash at gmail.com>
CommitDate: Fri Feb 22 15:11:08 2019 +0100

    leaflet: add class to the logo div to allow for customization
    
    This restores the class, which was lost at some point.
    
    To customize the logo, users need to define new logo properties
    in branding.css for the document-logo class (or id) and
    set them as !important to override the default values.
    
    For example:
    
    .document-logo {
        width: 125px !important;
        height: 39px !important;
        background-image: url('images/logo.png') !important;
        background-position: left !important;
        background-repeat: no-repeat !important;
        background-size: 125px 39px !important;
    }
    
    Change-Id: If93c53987915eb54fac1018443178d331f418470
    Reviewed-on: https://gerrit.libreoffice.org/68187
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loleaflet/html/loleaflet.html.m4 b/loleaflet/html/loleaflet.html.m4
index 96bd3704e..f68ac940d 100644
--- a/loleaflet/html/loleaflet.html.m4
+++ b/loleaflet/html/loleaflet.html.m4
@@ -83,7 +83,7 @@ ifelse(MOBILEAPP,[true],
 
      <nav class="main-nav" role="navigation">
        <div id="document-header">
-        <div id="document-logo"></div>
+        <div id="document-logo" class="document-logo"></div>
        </div>
        <!-- Mobile menu toggle button (hamburger/x icon) -->
        <input id="main-menu-state" type="checkbox" style="display: none"/>


More information about the Libreoffice-commits mailing list