Use a variable to ensure the margin declaration is applied to components on mx_SettingsTab only (#8877)

This commit is contained in:
Suguru Hirahara 2022-06-25 18:06:08 +00:00 committed by GitHub
parent b391a20434
commit 173d8f33b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 13 deletions

View file

@ -15,7 +15,7 @@ limitations under the License.
*/
.mx_GeneralUserSettingsTab_changePassword .mx_Field {
@mixin mx_Settings_fullWidthField;
margin-inline-end: var(--SettingsTab_fullWidthField-margin-inline-end);
}
.mx_GeneralUserSettingsTab_changePassword .mx_Field:first-child {
@ -40,7 +40,7 @@ limitations under the License.
.mx_GeneralUserSettingsTab_discovery .mx_ExistingEmailAddress,
.mx_GeneralUserSettingsTab_discovery .mx_ExistingPhoneNumber,
.mx_GeneralUserSettingsTab_languageInput {
@mixin mx_Settings_fullWidthField;
margin-inline-end: var(--SettingsTab_fullWidthField-margin-inline-end);
}
.mx_GeneralUserSettingsTab_warningIcon {