Fix call list styling

This commit is contained in:
Robert Long 2022-01-05 11:52:13 -08:00
commit 095b0287f0
3 changed files with 14 additions and 3 deletions

View file

@ -22,6 +22,8 @@ export function CallList({ rooms, client }) {
participants={participants} participants={participants}
/> />
))} ))}
<div className={styles.callTileSpacer} />
<div className={styles.callTileSpacer} />
</div> </div>
</> </>
); );

View file

@ -1,5 +1,13 @@
.callTileSpacer,
.callTile { .callTile {
width: 329px; width: 329px;
}
.callTileSpacer {
height: 0;
}
.callTile {
height: 95px; height: 95px;
padding: 12px; padding: 12px;
background-color: var(--bgColor2); background-color: var(--bgColor2);
@ -51,8 +59,8 @@
} }
.callList { .callList {
display: grid; display: flex;
grid-template-columns: repeat(auto-fill, 329px); flex-wrap: wrap;
max-width: calc((329px + 24px) * 3); max-width: calc((329px + 24px) * 3);
width: calc(100% - 48px); width: calc(100% - 48px);
gap: 24px; gap: 24px;

View file

@ -1,7 +1,8 @@
.form { .form {
padding: 0 24px; padding: 0 24px;
justify-content: center; justify-content: center;
width: 409px; max-width: 409px;
width: calc(100% - 48px);
margin-bottom: 72px; margin-bottom: 72px;
} }