From efedf58c194f4fd442cf6d492f48fafec972379c Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Tue, 11 Oct 2022 22:46:00 +0800 Subject: [PATCH] css --- source/css/_common/loading.styl | 5 +++++ source/css/_layout/tag-plugins/sites.styl | 4 ---- source/css/_layout/tag-plugins/timeline.styl | 4 ++++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/source/css/_common/loading.styl b/source/css/_common/loading.styl index c7fd1d4..46f1778 100644 --- a/source/css/_common/loading.styl +++ b/source/css/_common/loading.styl @@ -13,3 +13,8 @@ svg.loading transform:rotate(0deg) to transform:rotate(360deg) + +.loading-wrap + min-height: 50px + margin: 2rem 0 + text-align: center \ No newline at end of file diff --git a/source/css/_layout/tag-plugins/sites.styl b/source/css/_layout/tag-plugins/sites.styl index 61204ff..d74c34f 100644 --- a/source/css/_layout/tag-plugins/sites.styl +++ b/source/css/_layout/tag-plugins/sites.styl @@ -13,10 +13,6 @@ margin-top: 2rem .stellar-sites-api display: block - .loading-wrap - min-height: 50px - margin: 2rem 0 - text-align: center .sites-wrap .group-body display: grid diff --git a/source/css/_layout/tag-plugins/timeline.styl b/source/css/_layout/tag-plugins/timeline.styl index bc08213..e5846ab 100644 --- a/source/css/_layout/tag-plugins/timeline.styl +++ b/source/css/_layout/tag-plugins/timeline.styl @@ -12,6 +12,10 @@ border-radius: 8px top: .5rem bottom: 0 + &:has(.loading-wrap) + padding-left: 0 + &:before + display: none .tag-plugin.timeline .timenode position: relative