mirror of
https://github.com/yv1ing/MollyBlog.git
synced 2025-09-16 14:53:45 +08:00
new: Add article image preview function
This commit is contained in:
@@ -139,4 +139,22 @@ tr, th, td {
|
||||
#toc-box .li-6 {
|
||||
font-size: 11px;
|
||||
padding-left: 50px;
|
||||
}
|
||||
|
||||
.image-preview-wrap {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: none;
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.image-preview-img {
|
||||
max-width: 90%;
|
||||
max-height: 90%;
|
||||
}
|
||||
Reference in New Issue
Block a user