mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
Fix margin for right-aligned images (#398)
Update so imageAlign* has a class for all directions
This commit is contained in:
parent
373a3e62de
commit
4c2558e8bd
2 changed files with 9 additions and 2 deletions
|
@ -795,7 +795,6 @@ pre code {
|
|||
.imageAlignSide .blockImage {
|
||||
max-width: 500px;
|
||||
flex: 0 1 500px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
@media only screen and (min-device-width: 360px) and (max-device-width: 735px) {
|
||||
.imageAlignSide .blockImage {
|
||||
|
@ -821,6 +820,12 @@ pre code {
|
|||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.imageAlignRight .blockImage {
|
||||
margin-left: 40px;
|
||||
}
|
||||
.imageAlignLeft .blockImage {
|
||||
margin-right: 40px;
|
||||
}
|
||||
.container .gridBlock .blockContent p {
|
||||
padding: 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue