diff options
| author | Eltrac <hi@guhub.cn> | 2025-09-08 12:56:09 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-09-08 12:56:09 +0800 |
| commit | bd8220ef4b07ace6bada612c147685011b90b2b5 (patch) | |
| tree | 7c12658ac0a46cf97d1386f5d529ebb52ff46240 | |
| parent | 7bf7f67bc5d0f5a74ff0fb2cfd1ee91627f18df4 (diff) | |
fix: gallery image gets stretched on small screens
`max-width` made wide image shrink when viewport width is not large enough. This problem can be solved simply by removing the attribute.
| -rw-r--r-- | assets/css/_markdown.scss | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/assets/css/_markdown.scss b/assets/css/_markdown.scss index 242197ba..f7f4fbb8 100644 --- a/assets/css/_markdown.scss +++ b/assets/css/_markdown.scss @@ -199,7 +199,6 @@ $em-text-color: #889E73; margin: 0; flex-shrink: 0; display: inline-block; - max-width: 100%; position: relative; box-shadow: inset 0 -2rem 2rem -2rem rgba(0, 0, 0, 0.1); img { |
