From ba5e0075f9ce73dc1c0cd652c44c3f6b1959c4a0 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sun, 11 Jul 2021 17:04:41 +0800 Subject: [PATCH] timeline max-width --- source/css/_layout/tag-plugins/timeline.styl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/css/_layout/tag-plugins/timeline.styl b/source/css/_layout/tag-plugins/timeline.styl index db9109b..24c6979 100644 --- a/source/css/_layout/tag-plugins/timeline.styl +++ b/source/css/_layout/tag-plugins/timeline.styl @@ -18,6 +18,9 @@ display: flex flex-direction: column align-items: flex-start + max-width: 'calc(100% - %s)' % 16px + >.header, >.body + max-width: @max-width &[highlight] .header:before background: $color-theme &+.timenode