aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.scss
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-09-28 21:16:05 +0300
committerHenry Jameson <me@hjkos.com>2022-09-28 21:16:05 +0300
commitc041d7aa9b148e829a7539c2c2bd47814f4b10ce (patch)
tree2cb6b3bdcbb571d121bcbf981bb88c4d8d26ee8b /src/components/timeline/timeline.scss
parent2ab51a4ccbf5a247d7eb110fe8a07130bd9afe3a (diff)
refactor css for timeline buttons, make it a bit easier to tap them
Diffstat (limited to 'src/components/timeline/timeline.scss')
-rw-r--r--src/components/timeline/timeline.scss30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/components/timeline/timeline.scss b/src/components/timeline/timeline.scss
index 900bdad3..c38ecfea 100644
--- a/src/components/timeline/timeline.scss
+++ b/src/components/timeline/timeline.scss
@@ -13,6 +13,36 @@
background-color: var(--cGreen);
}
+ .timeline-header-button {
+ align-self: stretch;
+ text-align: center;
+ width: var(--__panel-heading-height);
+ height: var(--__panel-heading-height);
+ margin: calc(-1 * var(--panel-heading-height-padding));
+
+ > button {
+ box-sizing: border-box;
+ padding: calc(1 * var(--panel-heading-height-padding));
+ height: 100%;
+ width: 100%;
+ text-align: center;
+
+ svg {
+ font-size: 1.2em;
+ }
+ }
+ }
+
+ .timeline-header-icon {
+ align-self: stretch;
+ text-align: center;
+ width: var(--__panel-heading-height);
+
+ svg {
+ font-size: 1.2em;
+ }
+ }
+
.loadmore-button {
position: relative
}