Use case or problem
when add a tranparent image or black background image, it difficult to tell the boarder of images
Proposed solution
support shadow or shadow to images
Current workaround (optional)
maybe like what gitlab does as in this link
add shadow to pics
Related feature requests (optional)
1 Like
I use this CSS snippet:
.markdown-source-view.mod-cm6 .internal-embed > img,
.markdown-preview-view .internal-embed > img {
box-shadow: 0 28px 8px -26px rgba(0, 0, 0);
border:1px solid #ccc;
margin: 0.25rem 0.25rem 0.75rem 0.25rem;
}
3 Likes
oh thanks for the code, I’ll try it
system
Closed
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.