mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-24 05:41:16 +01:00
Hide device name in navigation on smaller devices
This commit is contained in:
parent
50b625c604
commit
91a8b07257
@ -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…
x
Reference in New Issue
Block a user