You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03:00
Add default properties to link buttons and remove redundant settings (#8151)
* Add font-size: inherit to link button Remove redundant font-size settings _FeedbackDialog.scss _GenericFeatureFeedbackDialog.scss _Login.scss _NewRoomIntro.scss _NotificationSettingsTab.scss _PinnedEventTile.scss _PreferencesUserSettingsTab.scss _SpaceCreateMenu.scss _ToastContainer.scss _UserMenu.scss Specify font-size - _ProfileSettings.scss - _SpaceBasicSettings.scss - _SpaceSettingsDialog.scss Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Add line-height: inherit to link button Remove redundant setting - _GenericFeatureFeedbackDialog.scss - _PinnedEventTile.scss - _SpaceCreateMenu.scss Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Add font-weight: normal to link button Remove redundant setting - _SpotlightDialog.scss - _UserMenu.scss Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Dedupe _link and _link_inline Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Set inline to "link_inline" Treat the button as its name indicates. For elements that should not be inlined, "link" should be used. Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
@ -65,6 +65,7 @@ limitations under the License.
|
||||
display: inline-block;
|
||||
margin: auto 18px;
|
||||
color: #368bd6;
|
||||
font-size: $font-14px; // See _SpaceSettingsDialog.scss
|
||||
}
|
||||
|
||||
> .mx_SpaceBasicSettings_avatar_remove {
|
||||
|
@ -93,10 +93,6 @@ $spacePanelWidth: 68px;
|
||||
width: min-content;
|
||||
}
|
||||
|
||||
.mx_AccessibleButton_kind_link {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.mx_AccessibleButton_disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
@ -118,7 +114,5 @@ $spacePanelWidth: 68px;
|
||||
.mx_AccessibleButton_kind_link {
|
||||
color: $accent;
|
||||
position: relative;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user