Commit ebeb847
authored
fix: fix dark mode timeline colors (#705)
* fix: show timeline event colors in dark mode
dark mode overrides every border-color with an `!important` rule (evil).
This fix cancels this override on every element that has a `border*` inline style (ie. the events divs in the timeline).
fixes #611
* fix: better css rule for dark mode border colors
previous rule would break dark mode's border color override when using inline non-color-related border styles (ie. `border-radius` or `border-width`).
This fix makes the color override be disabled only when using inline `border-color` or `border` styles.1 parent 906b005 commit ebeb847
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
0 commit comments