mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-30 16:17:41 +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}
|
bottom={props.bottom}
|
||||||
/>
|
/>
|
||||||
{props.withName && bufferSeed ? (
|
{props.withName && bufferSeed ? (
|
||||||
<span>
|
<span className="hidden md:inline-block">
|
||||||
{deviceName.length >= 20
|
{deviceName.length >= 20
|
||||||
? `${deviceName.slice(0, 20 - 1)}…`
|
? `${deviceName.slice(0, 20 - 1)}…`
|
||||||
: deviceName}
|
: deviceName}
|
||||||
|
|
Loading…
Reference in a new issue