diff options
| author | Reorx <novoreorx@gmail.com> | 2022-05-05 16:49:21 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-05-05 16:49:21 +0800 |
| commit | cbba5c25bd910661e181cbff72712bf92d27cd5b (patch) | |
| tree | e736f67cacc6f2d1ea2c9d0a07a5d7937a381558 /assets/css/common/post-single.css | |
| parent | 3ba18bda1876fa8f61adf1f4b92b848dc87aea5e (diff) | |
add image-size-control shortcode
Diffstat (limited to 'assets/css/common/post-single.css')
| -rw-r--r-- | assets/css/common/post-single.css | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 5d539ec..3857fec 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -273,7 +273,7 @@ h6:hover .anchor { .post-content img { border-radius: 4px; - margin: 1rem 0; + margin: 1rem auto; } .post-content img[src*="#center"] { @@ -520,3 +520,8 @@ h6:hover .anchor { padding: 1.5em; box-shadow: var(--shadow-elevation-low); } + +.image-size-control > img { + width: inherit; + height: inherit; +} |
