diff --git a/components/Header/index.tsx b/components/Header/index.tsx
index 8fec3c27..6e5e42a2 100644
--- a/components/Header/index.tsx
+++ b/components/Header/index.tsx
@@ -33,6 +33,7 @@ import RemixIcon from '~public/icons/Remix.svg'
import SaveIcon from '~public/icons/Save.svg'
import './index.scss'
+import Tooltip from '~components/Tooltip'
const Header = () => {
// Localization
@@ -226,28 +227,32 @@ const Header = () => {
const saveButton = () => {
return (
- }
- className={classNames({
- Save: true,
- Saved: party.favorited,
- })}
- blended={true}
- text={party.favorited ? t('buttons.saved') : t('buttons.save')}
- onClick={toggleFavorite}
- />
+
+ }
+ className={classNames({
+ Save: true,
+ Saved: party.favorited,
+ })}
+ blended={true}
+ text={party.favorited ? t('buttons.saved') : t('buttons.save')}
+ onClick={toggleFavorite}
+ />
+
)
}
const remixButton = () => {
return (
- }
- className="Remix"
- blended={true}
- text={t('buttons.remix')}
- onClick={remixTeam}
- />
+
+ }
+ className="Remix"
+ blended={true}
+ text={t('buttons.remix')}
+ onClick={remixTeam}
+ />
+
)
}
diff --git a/components/PartyDetails/index.tsx b/components/PartyDetails/index.tsx
index dbee72c4..37fd2514 100644
--- a/components/PartyDetails/index.tsx
+++ b/components/PartyDetails/index.tsx
@@ -710,7 +710,7 @@ const PartyDetails = (props: Props) => {
{name ? name : t('no_title')}
{party.remix && party.sourceParty ? (
-
+
}
diff --git a/components/Tooltip/index.scss b/components/Tooltip/index.scss
index 33218a12..3a4b325d 100644
--- a/components/Tooltip/index.scss
+++ b/components/Tooltip/index.scss
@@ -1,5 +1,8 @@
.Tooltip {
background: var(--dialog-bg);
border-radius: $card-corner;
+ line-height: 1.3;
padding: $unit * 1.5;
+ z-index: 35;
+ max-width: 200px;
}
diff --git a/public/locales/en/common.json b/public/locales/en/common.json
index 1d9f394a..0f7ee421 100644
--- a/public/locales/en/common.json
+++ b/public/locales/en/common.json
@@ -390,6 +390,11 @@
"toasts": {
"copied": "This party's URL was copied to your clipboard"
},
+ "tooltips": {
+ "remix": "Make a copy of this team",
+ "save": "Save this team to your account",
+ "source": "Go to original team"
+ },
"extra_weapons": "Additional Weapons",
"equipped": "Equipped",
"coming_soon": "Coming Soon",
diff --git a/public/locales/ja/common.json b/public/locales/ja/common.json
index a76a1e08..4bcfc3cf 100644
--- a/public/locales/ja/common.json
+++ b/public/locales/ja/common.json
@@ -391,6 +391,11 @@
"toasts": {
"copied": "この編成のURLはクリップボードにコピーされました"
},
+ "tooltips": {
+ "remix": "この編成をコピーする",
+ "save": "この編成をアカウントに保存する",
+ "source": "オリジナルの編成へ"
+ },
"equipped": "装備した",
"extra_weapons": "Additional Weapons",
"coming_soon": "開発中",