Padding setting of link button & nesting structure of _AccessibleButton.scss (#8091)

This commit is contained in:
Suguru Hirahara 2022-03-23 17:15:15 +00:00 committed by GitHub
parent 1495c23a14
commit 86691550df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 148 additions and 160 deletions

View file

@ -54,7 +54,6 @@ limitations under the License.
font-size: $font-12px;
line-height: $font-15px;
margin-top: 8px;
padding: 0;
}
}
@ -136,10 +135,6 @@ limitations under the License.
left: 0;
}
}
.mx_AccessibleButton_kind_link {
padding: 0;
}
}
}

View file

@ -17,7 +17,7 @@ limitations under the License.
.mx_BugReportDialog {
.mx_BugReportDialog_download {
.mx_AccessibleButton_kind_link {
padding-left: 0;
margin-right: 18px; // Space between "Downloading logs..."
}
}
}

View file

@ -73,9 +73,5 @@ limitations under the License.
margin-left: 16px;
padding: 8px 36px;
}
.mx_AccessibleButton_kind_link {
padding: 0;
}
}
}

View file

@ -59,7 +59,6 @@ limitations under the License.
}
.mx_AccessibleButton_kind_link {
padding: 0;
font-size: inherit;
}

View file

@ -23,7 +23,6 @@ limitations under the License.
}
.mx_AccessibleButton_kind_link {
padding: 0;
font-size: inherit;
line-height: inherit;
}

View file

@ -96,6 +96,11 @@ limitations under the License.
> span {
color: $primary-content;
}
.mx_InviteDialog_section_showMore {
margin: 7px 18px;
display: inline;
}
}
.mx_InviteDialog_section_hidden_suggestions_disclaimer {

View file

@ -76,11 +76,12 @@ limitations under the License.
}
.mx_AccessibleButton_hasKind {
padding: 8px 22px;
&.mx_AccessibleButton_kind_link {
margin: 7px 18px;
&.mx_SettingsTab_showAdvanced {
margin: 16px 0;
padding: 0;
&.mx_SettingsTab_showAdvanced {
margin: 18px 0;
}
}
}