aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-18 17:44:05 +0100
committerGitHub <noreply@github.com>2022-02-18 17:44:05 +0100
commitc0f7c1c22749b66a0ec588753e7f705f3ca4224e (patch)
tree88abf574780e78354ec0da23e88eb5f19366949d /src
parent149bf9fb6da8cdd361c18ce8b8d3ead1db8abbd3 (diff)
fix: prevent cropped plus/minus icon on widgets (#8)
Because of the default padding on button element, in some browsers the plus/minus icon on widgets was cropped.
Diffstat (limited to 'src')
-rw-r--r--src/components/WidgetParts/ExpandableWidget/ExpandableWidget.module.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/WidgetParts/ExpandableWidget/ExpandableWidget.module.scss b/src/components/WidgetParts/ExpandableWidget/ExpandableWidget.module.scss
index ab90179..6a7757d 100644
--- a/src/components/WidgetParts/ExpandableWidget/ExpandableWidget.module.scss
+++ b/src/components/WidgetParts/ExpandableWidget/ExpandableWidget.module.scss
@@ -116,6 +116,7 @@
gap: var(--spacing-md);
width: 100%;
min-height: var(--header-height);
+ padding: 0;
position: sticky;
top: 0;
z-index: 3;