mirror of
https://gitlab.com/upRootNutrition/obsidian.git
synced 2025-06-15 15:25:13 -05:00
26 lines
No EOL
736 B
CSS
Executable file
26 lines
No EOL
736 B
CSS
Executable file
/* Updated for Obsidian 0.9.22 and up */
|
|
|
|
.img-grid .markdown-preview-section img:not([width]),
|
|
.img-grid .markdown-preview-section video {
|
|
width:100%;
|
|
}
|
|
.img-grid .markdown-preview-section > div {
|
|
display:flex;
|
|
}
|
|
.img-grid .markdown-preview-section > div > .internal-embed {
|
|
flex:1;
|
|
margin-left:-0.5rem;
|
|
padding:0 0.5rem 0.5rem 0.5rem;
|
|
}
|
|
.img-grid .markdown-preview-section > div > *:not(div) {
|
|
margin-block-start: 0rem;
|
|
margin-block-end: 1rem;
|
|
}
|
|
.img-grid .markdown-preview-section > div hr {
|
|
width:100%;
|
|
}
|
|
/* These lines make every image the same height */
|
|
.img-grid .markdown-preview-section > div > .internal-embed img:not(:active) {
|
|
object-fit:cover;
|
|
height:100%;
|
|
} |