diff options
author | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2020-07-27 22:33:27 +0300 |
---|---|---|
committer | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2020-07-27 22:33:27 +0300 |
commit | 17e34ebe35688c674721abb8962bc1de3a9d2098 (patch) | |
tree | dc6b19e2ecdd5a248bf8ffa9f76060e14df68ee8 /css | |
parent | 1af0390ebd39f5329fb63e46db3cdb71bbc08042 (diff) |
Don't show round corners for task items on mobile
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Diffstat (limited to 'css')
-rw-r--r-- | css/src/style.scss | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/css/src/style.scss b/css/src/style.scss index 2e37b3cf..a7215e0b 100644 --- a/css/src/style.scss +++ b/css/src/style.scss @@ -439,10 +439,18 @@ $blue_due: #4271a6; // due dates and low importance } // Show round corners for first root task - > .task-item:first-child > .task-body { - border-top-left-radius: var(--border-radius); - border-top-right-radius: var(--border-radius); - border-top: none; + > .task-item { + &:first-child > .task-body { + border-top-left-radius: var(--border-radius); + border-top-right-radius: var(--border-radius); + border-top: none; + } + + & > .task-body { + @media only screen and (max-width: $breakpoint-mobile) { + border-radius: 0 !important; + } + } } } |