Skip to content

Commit

Permalink
fix image hover area
Browse files Browse the repository at this point in the history
  • Loading branch information
Erimus-Koo committed Jul 27, 2022
1 parent ae3884c commit 8459702
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 2 additions & 6 deletions typora-docsify.css
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,7 @@ body,
color: #222;
}
#write img,
.markdown-section img,
#write .md-image,
.markdown-section .md-image {
.markdown-section img {
max-width: 100%;
max-height: 80vh;
display: block;
Expand All @@ -517,9 +515,7 @@ body,
transition: all 0.3s !important;
}
#write img:hover,
.markdown-section img:hover,
#write .md-image:hover,
.markdown-section .md-image:hover {
.markdown-section img:hover {
box-shadow: 0 0 2px #0004;
}
#write ul,
Expand Down
3 changes: 1 addition & 2 deletions typora-docsify.less
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,7 @@ body,


// ============================== 图片
img,
.md-image {
img {
max-width: 100%;
max-height: 80vh;
display: block;
Expand Down

0 comments on commit 8459702

Please sign in to comment.