diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-29 17:49:56 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-29 17:49:56 +0200 |
| commit | 28c7fac9f0b740473575200051bc2983ec5c9be9 (patch) | |
| tree | b079ae51ff67d8ece4b9012d49ab71c884dba500 /src/components/chat_list_item | |
| parent | 3f6b9fbf9cc59d5ae20f9bda7c8fdf9f55d5675e (diff) | |
implement list item styles
Diffstat (limited to 'src/components/chat_list_item')
| -rw-r--r-- | src/components/chat_list_item/chat_list_item.scss | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/components/chat_list_item/chat_list_item.scss b/src/components/chat_list_item/chat_list_item.scss index af28e1c0..04bec8dd 100644 --- a/src/components/chat_list_item/chat_list_item.scss +++ b/src/components/chat_list_item/chat_list_item.scss @@ -1,8 +1,6 @@ .chat-list-item { display: flex; flex-direction: row; - padding: 0.75em; - height: 5em; overflow: hidden; box-sizing: border-box; cursor: pointer; @@ -12,7 +10,6 @@ } &:hover { - background-color: var(--selectedPost, $fallback--lightBg); box-shadow: 0 0 3px 1px rgb(0 0 0 / 10%); } @@ -29,7 +26,7 @@ .heading { width: 100%; - display: inline-flex; + display: flex; justify-content: space-between; line-height: 1em; } @@ -47,18 +44,17 @@ } .chat-preview { - display: inline-flex; + display: flex; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin: 0.35em 0; - color: $fallback--text; - color: var(--faint, $fallback--text); + color: var(--faintText); width: 100%; } a { - color: var(--faintLink, $fallback--link); + color: var(--faintLink); text-decoration: none; pointer-events: none; } |
