Skip to content

Commit

Permalink
Tweak margins so Guide contents don't rely on the PageControl margins
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed Mar 8, 2021
1 parent 46ff3f4 commit 0828227
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/components/src/guide/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,18 @@
}

&__page-control {
margin: $grid-unit-10 0 $grid-unit-10 0;
margin: 0;
text-align: center;

li {
display: inline-block;
margin: 0;
}

.components-button {
height: 30px;
min-width: 20px;
margin: -6px 0;
}
}

Expand Down
3 changes: 2 additions & 1 deletion packages/edit-post/src/components/welcome-guide/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
&__image {
background: #00a0d2;
height: 240px;
margin: 0 0 $grid-unit-20;

&__prm-r {
display: none;
Expand All @@ -26,7 +27,7 @@
font-family: $default-font;
font-size: 24px;
line-height: 1.4;
margin: 0 0 $grid-unit-20 0;
margin: $grid-unit-20 0 $grid-unit-20 0;
padding: 0 $grid-unit-40;
}

Expand Down

0 comments on commit 0828227

Please sign in to comment.