Skip to content

Commit

Permalink
修复瞬间图片过大问题
Browse files Browse the repository at this point in the history
  • Loading branch information
qiushaocloud committed May 13, 2024
1 parent 7c85e45 commit 3c3cb99
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions templates/assets/css/journals.less
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,22 @@
list-style: disc;
}

span[data-fancybox='Joe'] {
display: inline-block !important;
}

img {
display: inline-block;
max-width: var(--img-max-width) !important;
cursor: zoom-in;
margin: 5px 0;
border-radius: var(--radius-img);
transition: transform 0.35s, box-shadow 0.35s;
height: 120px;

@media screen and (max-width: 768px) {
height: 80px;
}

&:hover {
transform: translateY(-3px);
Expand Down
Loading

0 comments on commit 3c3cb99

Please sign in to comment.