From 12ed094082ebc445d8ccd96335bbf525b1be2b3b Mon Sep 17 00:00:00 2001 From: Carlos Morales Date: Sat, 8 Oct 2022 10:47:32 +0100 Subject: [PATCH] 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 --- _sass/_base.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/_sass/_base.scss b/_sass/_base.scss index a755d599c7bb..0efbcb98535b 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -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 {