mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
Fix: Small fixes to Sessions tab
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
.container {
|
||||
width: 218px;
|
||||
padding: 60px 8px;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
.divider {
|
||||
|
||||
@@ -69,6 +69,10 @@
|
||||
font-weight: 600;
|
||||
color: var(--foreground);
|
||||
text-transform: uppercase;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
a {
|
||||
@@ -329,6 +333,26 @@
|
||||
|
||||
.name {
|
||||
font-weight: 600;
|
||||
border-bottom: 2px solid transparent;
|
||||
}
|
||||
|
||||
input {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
font-family: inherit;
|
||||
font-size: 1rem;
|
||||
padding: 0;
|
||||
outline: 0;
|
||||
border-radius: 0;
|
||||
color: inherit;
|
||||
|
||||
&:focus {
|
||||
border-bottom: 2px solid var(--accent);
|
||||
}
|
||||
|
||||
&[data-active="true"] {
|
||||
border-bottom: 2px solid inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
@@ -361,6 +385,7 @@
|
||||
|
||||
.name {
|
||||
text-transform: capitalize;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.time {
|
||||
|
||||
@@ -133,9 +133,7 @@ export function Sessions() {
|
||||
<div>{getSystemIcon(session)}</div>
|
||||
</div>
|
||||
<div className={styles.info}>
|
||||
<span className={styles.name}>
|
||||
{session.friendly_name}
|
||||
</span>
|
||||
<input type="text" className={styles.name} value={session.friendly_name} autocomplete="off" />
|
||||
<span className={styles.time}>
|
||||
<Text
|
||||
id="app.settings.pages.sessions.created"
|
||||
|
||||
Reference in New Issue
Block a user