mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 03:15:07 +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}
|
||||
/>
|
||||
{props.withName && bufferSeed ? (
|
||||
<span>
|
||||
<span className="hidden md:inline-block">
|
||||
{deviceName.length >= 20
|
||||
? `${deviceName.slice(0, 20 - 1)}…`
|
||||
: deviceName}
|
||||
|
Loading…
Reference in New Issue
Block a user