Skip to content

Commit 0bee03e

Browse files
committed
Fix App body height.
App warning colours. App loading styling.
1 parent ff2554c commit 0bee03e

1 file changed

Lines changed: 21 additions & 2 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/rooms/_AppsDrawer.scss‎

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ limitations under the License.
8888
border-radius: 2px;
8989
}
9090

91+
.mx_AppTileBody{
92+
height: 350px;
93+
overflow: hidden;
94+
}
95+
9196
.mx_AppTileBody iframe {
9297
width: 100%;
9398
height: 350px;
@@ -171,7 +176,7 @@ form.mx_Custom_Widget_Form div {
171176
.mx_AppPermissionWarning {
172177
text-align: center;
173178
padding: 30px 0;
174-
background-color: $lightbox-bg-color;
179+
background-color: $primary-bg-color;
175180
}
176181

177182
.mx_AppPermissionWarningImage {
@@ -183,7 +188,7 @@ form.mx_Custom_Widget_Form div {
183188
}
184189

185190
.mx_AppPermissionWarningText {
186-
max-width: 300px;
191+
max-width: 400px;
187192
margin: 10px auto 10px auto;
188193
color: $primary-fg-color;
189194
}
@@ -200,4 +205,18 @@ form.mx_Custom_Widget_Form div {
200205
padding: 5px;
201206
border-radius: 5px;
202207
color: $warning-color;
208+
background-color: $primary-bg-color;
209+
}
210+
211+
.mx_AppPermissionButton:hover {
212+
background-color: $primary-fg-color;
213+
}
214+
215+
.mx_AppLoading {
216+
min-height: 305px;
217+
display: flex;
218+
flex-direction: column;
219+
justify-content: center;
220+
align-items: center;
221+
font-weight: bold;
203222
}

0 commit comments

Comments
 (0)