diff options
| author | Henry Jameson <me@hjkos.com> | 2022-09-28 21:16:05 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-09-28 21:16:05 +0300 |
| commit | c041d7aa9b148e829a7539c2c2bd47814f4b10ce (patch) | |
| tree | 2cb6b3bdcbb571d121bcbf981bb88c4d8d26ee8b /src/components/timeline/timeline.scss | |
| parent | 2ab51a4ccbf5a247d7eb110fe8a07130bd9afe3a (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.scss | 30 |
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 } |
