Add text to Remix button

This commit is contained in:
Justin Edmund 2023-01-28 19:18:39 -08:00
parent 88c571a674
commit f11e45b801
5 changed files with 13 additions and 1 deletions

View file

@ -38,6 +38,11 @@
&:hover { &:hover {
background: none; background: none;
} }
.Text {
font-size: $font-small;
font-weight: $bold;
}
} }
&.Contained { &.Contained {

View file

@ -715,6 +715,7 @@ const PartyDetails = (props: Props) => {
<Button <Button
className="IconButton Blended" className="IconButton Blended"
leftAccessoryIcon={<RemixIcon />} leftAccessoryIcon={<RemixIcon />}
text={t('tokens.remix')}
onClick={() => goTo(party.sourceParty?.shortcode)} onClick={() => goTo(party.sourceParty?.shortcode)}
/> />
</Tooltip> </Tooltip>

View file

@ -1,7 +1,7 @@
.Token { .Token {
background: var(--input-bg); background: var(--input-bg);
border-radius: 99px; border-radius: 99px;
display: inline; display: inline-flex;
font-size: $font-small; font-size: $font-small;
font-weight: $medium; font-weight: $medium;
min-width: 3rem; min-width: 3rem;

View file

@ -399,6 +399,9 @@
"toasts": { "toasts": {
"copied": "This party's URL was copied to your clipboard" "copied": "This party's URL was copied to your clipboard"
}, },
"tokens": {
"remix": "Remix"
},
"tooltips": { "tooltips": {
"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",

View file

@ -400,6 +400,9 @@
"toasts": { "toasts": {
"copied": "この編成のURLはクリップボードにコピーされました" "copied": "この編成のURLはクリップボードにコピーされました"
}, },
"tokens": {
"remix": "リミックス"
},
"tooltips": { "tooltips": {
"remix": "この編成をコピーする", "remix": "この編成をコピーする",
"save": "この編成をアカウントに保存する", "save": "この編成をアカウントに保存する",