[gnome-calculator/wip/cdavis/gtk4: 7/9] css: Fix `calc()` calls
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator/wip/cdavis/gtk4: 7/9] css: Fix `calc()` calls
- Date: Wed, 20 Oct 2021 22:10:18 +0000 (UTC)
commit cc8fdb049dc47281d01f97354cd142fa4af95548
Author: Christopher Davis <christopherdavis gnome org>
Date: Wed Oct 20 14:43:22 2021 -0700
css: Fix `calc()` calls
There needs to be space between operators
for calc to work.
src/ui/calculator.css | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/ui/calculator.css b/src/ui/calculator.css
index 347a920d..8900f855 100644
--- a/src/ui/calculator.css
+++ b/src/ui/calculator.css
@@ -50,10 +50,10 @@ clamp.small > grid > :first-child {
.math-buttons > grid {
/* 5 44px high buttons and 4px spacing. */
- min-height: calc(44px*5+4px*4);
+ min-height: calc(44px * 5 + 4px * 4);
/* 5 60px wide buttons and 4px spacing. */
/* Update the clamp size in templates accordingly. */
- min-width: calc(60px*5+4px*4-6px);
+ min-width: calc(60px * 5 + 4px * 4 - 6px);
margin-left: 12px;
margin-right: 12px;
margin-top: 12px;
@@ -61,10 +61,6 @@ clamp.small > grid > :first-child {
transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
-.math-buttons.unfolded > grid {
- min-width: calc(60px*5+4px*4);
-}
-
.math-buttons.unfolded > grid:not(:only-child):first-child {
margin-right: 6px;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]