mirror of
https://github.com/kuohuanhuan/x-markdown-css.git
synced 2024-11-25 06:18:19 +00:00
fix(media): remove hardcoded pixel height
and width
This commit is contained in:
@ -1,13 +1,8 @@
|
|||||||
img {
|
img {
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 92%;
|
max-width: 92%;
|
||||||
max-height: 600px;
|
|
||||||
margin: 1rem auto;
|
margin: 1rem auto;
|
||||||
border-radius: .2rem;
|
border-radius: .2rem;
|
||||||
|
|
||||||
@media screen and (min-width: 1600px) {
|
|
||||||
max-width: 800px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
video {
|
video {
|
||||||
|
Reference in New Issue
Block a user