[epiphany/wip/exalm/elementary8: 2/2] themes: Set minimum height for url bar on elementary



commit dd2dc711f091c8cc1a1f048326c28af90e413e4e
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Thu Sep 26 01:25:36 2019 +0500

    themes: Set minimum height for url bar on elementary
    
    Since right side icons are outside the entry, and minimum height is
    normally smaller than 16px, the height changes every time lock icon is
    shown or hidden with a small enough font size. Set a minimum height to
    ensure this doesn't happen.

 src/resources/themes/elementary.css  | 2 ++
 src/resources/themes/elementary.scss | 6 ++++++
 2 files changed, 8 insertions(+)
---
diff --git a/src/resources/themes/elementary.css b/src/resources/themes/elementary.css
index ab00270f4..1eef494f8 100644
--- a/src/resources/themes/elementary.css
+++ b/src/resources/themes/elementary.css
@@ -62,6 +62,8 @@
 
 .page-menu-zoom-box { margin-bottom: 6px; }
 
+.url_entry { min-height: 16px; }
+
 .entry_icon_box { margin-left: 3px; margin-right: 1px; }
 
 .entry_icon_box:dir(rtl) { margin-left: 1px; margin-right: 3px; }
diff --git a/src/resources/themes/elementary.scss b/src/resources/themes/elementary.scss
index 90240230f..cf0b06277 100644
--- a/src/resources/themes/elementary.scss
+++ b/src/resources/themes/elementary.scss
@@ -12,6 +12,11 @@ $variant: 'light';
   margin-bottom: 6px;
 }
 
+// Ensure the entry is at least as tall as the icons
+.url_entry {
+  min-height: 16px;
+}
+
 // entry icons
 .entry_icon_box {
   margin-left: 3px;
@@ -110,3 +115,4 @@ dzlsuggestionpopover > revealer > box {
     color: themecolor(text_shadow_color);
   }
 }
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]