Skip to content

Commit 8650b1a

Browse files
cmoralesmxsiantonelli
authored andcommitted
Set the margin according to the alignment selected (alshedivat#928)
As reported in alshedivat#927, the style of the profile class only considers a left-margin regardless of the alignment option selected. Thus, when the user changes the default alignment there is no corresponding margin to match their selection. My commit addresses this by enabling the corresponding margin for the left or right alignment options
1 parent c4fc26d commit 8650b1a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_sass/_base.scss

+6
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,12 @@ blockquote {
129129
}
130130
}
131131
}
132+
.profile.float-right{
133+
margin-left: 1rem;
134+
}
135+
.profile.float-left{
136+
margin-right: 1rem;
137+
}
132138

133139
.profile.float-right {
134140
margin-left: 1rem;

0 commit comments

Comments
 (0)