hide user name in user dropdown on mobile (#2512)
* hide user name in user dropdown on mobile * truncate title in header * prettify code * Add line height to prevent cutting of lower length letters
This commit is contained in:
@@ -33,7 +33,9 @@
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 90%;
|
||||
width: 70vw;
|
||||
overflow: hidden;
|
||||
line-height: 1.4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ export const Header: FC<HeaderComponentProps> = ({
|
||||
<div id="header-logo" className={styles.logoImage}>
|
||||
<OwncastLogo variant="contrast" />
|
||||
</div>
|
||||
<h1 className={styles.title} id="global-header-text">
|
||||
<h1 className={styles.title} id="global-header-text" title={name}>
|
||||
{name}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user