mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Hide device name in navigation on smaller devices
This commit is contained in:
parent
50b625c604
commit
91a8b07257
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ export function UserAvatar(props: {
|
|||
bottom={props.bottom}
|
||||
/>
|
||||
{props.withName && bufferSeed ? (
|
||||
<span>
|
||||
<span className="hidden md:inline-block">
|
||||
{deviceName.length >= 20
|
||||
? `${deviceName.slice(0, 20 - 1)}…`
|
||||
: deviceName}
|
||||
|
|
Loading…
Reference in a new issue