Set max-width for figure element (nudus skins). (#925)
Co-authored-by: akinokonomi <akinokonomi@example.com>
This commit is contained in:
parent
7f3f5f8a30
commit
4b6f3d9fc9
5 changed files with 15 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue