timeline max-width

This commit is contained in:
xaoxuu 2021-07-11 17:04:41 +08:00
parent 6bc0821431
commit ba5e0075f9
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@
display: flex display: flex
flex-direction: column flex-direction: column
align-items: flex-start align-items: flex-start
max-width: 'calc(100% - %s)' % 16px
>.header, >.body
max-width: @max-width
&[highlight] .header:before &[highlight] .header:before
background: $color-theme background: $color-theme
&+.timenode &+.timenode