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 {
background: none;
}
.Text {
font-size: $font-small;
font-weight: $bold;
}
}
&.Contained {

View file

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

View file

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

View file

@ -399,6 +399,9 @@
"toasts": {
"copied": "This party's URL was copied to your clipboard"
},
"tokens": {
"remix": "Remix"
},
"tooltips": {
"remix": "Make a copy of this team",
"save": "Save this team to your account",

View file

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