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:
parent
fbbca1a8c4
commit
30512eebda
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user