mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-22 15:10:57 -05:00
Fixed sessions tab for mobile devices
This commit is contained in:
parent
ce67c5acdb
commit
0f0c6cfbae
2 changed files with 44 additions and 21 deletions
|
@ -312,6 +312,22 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex-direction: row;
|
||||
|
||||
.flextest {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 900px) {
|
||||
align-items: unset;
|
||||
flex-direction: column;
|
||||
|
||||
> button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.entry {
|
||||
|
|
|
@ -128,6 +128,7 @@ export function Sessions() {
|
|||
</span>
|
||||
)}
|
||||
<div className={styles.session}>
|
||||
<div className={styles.flextest}>
|
||||
<div className={styles.icon}>
|
||||
{getIcon(session)}
|
||||
<div>{getSystemIcon(session)}</div>
|
||||
|
@ -149,7 +150,12 @@ export function Sessions() {
|
|||
}}
|
||||
/>
|
||||
</span>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{deviceId !== session.id && (
|
||||
<Button
|
||||
onClick={async () => {
|
||||
|
@ -173,6 +179,7 @@ export function Sessions() {
|
|||
<Text id="app.settings.pages.logOut" />
|
||||
</Button>
|
||||
)}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
|
|
Loading…
Reference in a new issue