Update figure shortcode to properly float left and right again
This commit is contained in:
parent
0b270e29cf
commit
6c4246bfc6
@ -101,12 +101,24 @@ figure {
|
|||||||
width: 50%;
|
width: 50%;
|
||||||
float: left;
|
float: left;
|
||||||
padding-right: 3em;
|
padding-right: 3em;
|
||||||
|
|
||||||
|
@media (--phone) {
|
||||||
|
width: 100%;
|
||||||
|
float: none;
|
||||||
|
padding-left: inherit;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.right {
|
&.right {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
float: right;
|
float: right;
|
||||||
padding-left: 3em;
|
padding-left: 3em;
|
||||||
|
|
||||||
|
@media (--phone) {
|
||||||
|
width: 100%;
|
||||||
|
float: none;
|
||||||
|
padding-left: inherit;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user