[gnome-calculator] buttons-programming: Make the bits panel smaller on narrow windows



commit 7fa26566c92d4338cfeb427b4199d1b3e67a0305
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue Mar 23 13:41:23 2021 +0100

    buttons-programming: Make the bits panel smaller on narrow windows
    
    This helps the window fit phone screens.

 src/ui/calculator.css | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/src/ui/calculator.css b/src/ui/calculator.css
index 50543401..f3e396c9 100644
--- a/src/ui/calculator.css
+++ b/src/ui/calculator.css
@@ -100,6 +100,16 @@ clamp:not(.small) .bit-panel {
   margin: 6px 12px 0 12px;
 }
 
+clamp.small .bit-panel {
+  padding-top:4px;
+  padding-bottom: 4px;
+  font-size: 0.9em;
+}
+
+clamp.small .bit-panel button {
+  min-height: 20px;
+}
+
 .math-buttons button {
   font-size: 1.1em;
   /* Counter the button.text-button style. */


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