Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 5a9bac6

Browse files
committed
iterate PR based on feedback
Signed-off-by: Michael Telatynski <[email protected]>
1 parent 9cd146a commit 5a9bac6

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

res/css/views/rooms/_AppsDrawer.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ $MiniAppTileHeight: 200px;
5858
width: 4px;
5959
border-radius: 4px;
6060

61-
content: ' ';
61+
content: '';
6262

6363
background-color: $primary-fg-color;
6464
opacity: 0.8;
@@ -101,7 +101,7 @@ $MiniAppTileHeight: 200px;
101101
// TODO this should be 300px but that's too large
102102
$MinWidth: 240px;
103103

104-
.mx_AppsDrawer_has2 .mx_AppTile {
104+
.mx_AppsDrawer_2apps .mx_AppTile {
105105
width: 50%;
106106

107107
&:nth-child(3) {
@@ -110,7 +110,7 @@ $MinWidth: 240px;
110110
min-width: $MinWidth !important;
111111
}
112112
}
113-
.mx_AppsDrawer_has3 .mx_AppTile {
113+
.mx_AppsDrawer_3apps .mx_AppTile {
114114
width: 33%;
115115

116116
&:nth-child(3) {

src/components/views/rooms/AppsDrawer.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,8 @@ export default class AppsDrawer extends React.Component {
244244
mx_AppsDrawer: true,
245245
mx_AppsDrawer_fullWidth: apps.length < 2,
246246
mx_AppsDrawer_resizing: this.state.resizing,
247-
mx_AppsDrawer_has1: apps.length === 1,
248-
mx_AppsDrawer_has2: apps.length === 2,
249-
mx_AppsDrawer_has3: apps.length === 3,
247+
mx_AppsDrawer_2apps: apps.length === 2,
248+
mx_AppsDrawer_3apps: apps.length === 3,
250249
});
251250

252251
return (

0 commit comments

Comments
 (0)