Set the margin according to the alignment selected (#928)

As reported in #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
This commit is contained in:
Carlos Morales 2022-10-08 10:47:32 +01:00 committed by GitHub
parent fbbca1a8c4
commit 30512eebda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,6 @@ blockquote {
// Profile
.profile {
margin-left: 1rem;
width: 100%;
.address {
@ -106,6 +105,12 @@ blockquote {
}
}
}
.profile.float-right{
margin-left: 1rem;
}
.profile.float-left{
margin-right: 1rem;
}
@media (min-width: 576px) {
.profile {