Merge pull request #199 from jedmund/visual-fixes

Small visual fixes
This commit is contained in:
Justin Edmund 2023-01-29 23:01:41 -08:00 committed by GitHub
commit 907a3cd3f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 11 deletions

View file

@ -216,16 +216,18 @@ const Header = () => {
} }
return title !== '' ? ( return title !== '' ? (
<Button <Tooltip content={t('tooltips.copy_url')}>
blended={true} <Button
rightAccessoryIcon={ blended={true}
path === 'p' && hasAccessory ? ( rightAccessoryIcon={
<LinkIcon className="stroke" /> path === 'p' && hasAccessory ? (
) : undefined <LinkIcon className="stroke" />
} ) : undefined
text={title} }
onClick={copyToClipboard} text={title}
/> onClick={copyToClipboard}
/>
</Tooltip>
) : ( ) : (
'' ''
) )

View file

@ -48,6 +48,10 @@
flex-grow: 1; flex-grow: 1;
gap: $unit; gap: $unit;
} }
.UncapIndicator {
min-width: 100px;
}
} }
} }

View file

@ -404,6 +404,7 @@
"remix": "Remixed" "remix": "Remixed"
}, },
"tooltips": { "tooltips": {
"copy_url": "Copy the URL to this team",
"remix": "Make a copy of this team", "remix": "Make a copy of this team",
"save": "Save this team to your account", "save": "Save this team to your account",
"source": "Go to original team" "source": "Go to original team"

View file

@ -405,7 +405,8 @@
"remix": "リミックスされた" "remix": "リミックスされた"
}, },
"tooltips": { "tooltips": {
"remix": "この編成をコピーする", "copy_url": "この編成のURLをコピーする",
"remix": "この編成の複製を作成する",
"save": "この編成をアカウントに保存する", "save": "この編成をアカウントに保存する",
"source": "オリジナルの編成へ" "source": "オリジナルの編成へ"
}, },