mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Fix spacing after the figure and figure center alignment.
This commit is contained in:
parent
f7bf9caa79
commit
e030c2e9e7
|
@ -435,6 +435,12 @@ A figure directive:
|
||||||
|
|
||||||
This paragraph is also part of the legend.
|
This paragraph is also part of the legend.
|
||||||
|
|
||||||
|
A figure directive with center alignment
|
||||||
|
|
||||||
|
.. figure:: images/title.png
|
||||||
|
:align: center
|
||||||
|
:width: 300
|
||||||
|
|
||||||
Admonitions
|
Admonitions
|
||||||
```````````
|
```````````
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,12 @@
|
||||||
max-width: 100%
|
max-width: 100%
|
||||||
height: auto !important
|
height: auto !important
|
||||||
|
|
||||||
|
div.figure
|
||||||
|
margin-bottom: $base-line-height
|
||||||
|
|
||||||
|
div.figure.align-center
|
||||||
|
text-align: center
|
||||||
|
|
||||||
// Usually it's a good idea to give images some space.
|
// Usually it's a good idea to give images some space.
|
||||||
.section > img
|
.section > img
|
||||||
margin-bottom: $base-line-height
|
margin-bottom: $base-line-height
|
||||||
|
|
Loading…
Reference in New Issue
Block a user