diff options
| author | Eltrac <hi@guhub.cn> | 2025-04-02 13:57:39 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-04-02 13:57:39 +0800 |
| commit | b68d42bd1e778fa3bc78fe99dba5a137210c3161 (patch) | |
| tree | 4819ff3587d5a59b3929fc8b7cfcae380fc6cb1f | |
| parent | f1123bf2e825247b570ae644f4ba139946e3253e (diff) | |
fix: book cover too large on mobile
Former-commit-id: 017adb4b56abc6816f0108ca866d44f7d0a6f93e
| -rw-r--r-- | assets/css/components/_library.scss | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/assets/css/components/_library.scss b/assets/css/components/_library.scss index 0031df12..ee17799a 100644 --- a/assets/css/components/_library.scss +++ b/assets/css/components/_library.scss @@ -88,7 +88,8 @@ } #book-page &, #post-content & { - margin: 0; + margin: 0 auto; + max-width: 50%; @media screen and (min-width: 768px) { display: inxwline-block; float: left; @@ -97,3 +98,7 @@ } } } + +#book-page { + margin: 1rem 0; +} |
