Set max-width for figure element (nudus skins). (#925)

Co-authored-by: akinokonomi <akinokonomi@example.com>
This commit is contained in:
akinokonomi 2023-04-24 07:30:41 +00:00 committed by GitHub
parent 7f3f5f8a30
commit 4b6f3d9fc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 2 deletions

View file

@ -156,6 +156,11 @@ cite {
font-weight: bold !important; font-weight: bold !important;
} }
// override if width is defined in element's style attribute
figure {
max-width: 100%;
}
figure > img { figure > img {
display: block; display: block;
} }

View file

@ -140,6 +140,10 @@ cite {
font-weight: bold !important; font-weight: bold !important;
} }
figure {
max-width: 100%;
}
figure > img { figure > img {
display: block; display: block;
} }

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<skin version="0.1.5" base="nudus-base"> <skin version="0.1.6" base="nudus-base">
<author> <author>
<name>akinokonomi, martinrotter</name> <name>akinokonomi, martinrotter</name>
</author> </author>

View file

@ -140,6 +140,10 @@ cite {
font-weight: bold !important; font-weight: bold !important;
} }
figure {
max-width: 100%;
}
figure > img { figure > img {
display: block; display: block;
} }

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<skin version="0.1.5" base="nudus-base"> <skin version="0.1.6" base="nudus-base">
<author> <author>
<name>akinokonomi, martinrotter</name> <name>akinokonomi, martinrotter</name>
</author> </author>