You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-06 10:22:45 +03:00
Move style rules for AppWarning.tsx and AppPermission.tsx from _AppsDrawer.pcss to _common.pcss (#11094)
Because the style rules do not belong to AppsDrawer.tsx and are used by other multiple components, it is sensible to manage the rules on _common.pcss rather than _AppsDrapwer.pcss to improve maintainability.
This commit is contained in:
@@ -695,6 +695,15 @@ legend {
|
|||||||
color: $username-variant8-color;
|
color: $username-variant8-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_AppWarning,
|
||||||
|
.mx_AppPermission {
|
||||||
|
text-align: center;
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
@define-mixin ProgressBarColour $colour {
|
@define-mixin ProgressBarColour $colour {
|
||||||
color: $colour;
|
color: $colour;
|
||||||
&::-moz-progress-bar {
|
&::-moz-progress-bar {
|
||||||
|
@@ -305,15 +305,6 @@ limitations under the License.
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_AppWarning,
|
|
||||||
.mx_AppPermission {
|
|
||||||
text-align: center;
|
|
||||||
display: flex;
|
|
||||||
height: 100%;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_AppTile_loading {
|
.mx_AppTile_loading {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
Reference in New Issue
Block a user