mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
fix: prevent text overflow in metabar
This commit is contained in:
parent
dd32f75941
commit
f32711085d
2 changed files with 4 additions and 0 deletions
|
|
@ -36,6 +36,8 @@ export function MetaBar() {
|
|||
onClick={createAnchorClickHandler(branchUrl)}
|
||||
sx={{
|
||||
color: 'fg.muted',
|
||||
wordBreak: 'normal',
|
||||
overflowWrap: 'anywhere',
|
||||
}}
|
||||
{...platform.delegateFastRedirectAnchorProps?.()}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -463,6 +463,8 @@ html[data-with-gitako-spacing='true'] {
|
|||
a {
|
||||
color: var(--color-accent-fg);
|
||||
white-space: normal;
|
||||
word-break: normal;
|
||||
overflow-wrap: anywhere; // break-word does not break on `_`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue