Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Create NFT - adjust font #11073

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions assets/styles/pages/create.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,3 @@
border: 1px solid theme('card-border-color');
}
}

.sale :deep(.o-field__label) {
position: relative;
-webkit-text-stroke: 1px #000;
filter: drop-shadow(1px 1px #000);
font-weight: 700;
font-size: 18px;
}

.sale {
position: relative;
}

.hidden-sale-label {
@apply absolute pointer-events-none text-transparent bg-clip-text font-bold text-lg left-0 top-0;
background: linear-gradient(to right, white, white, white);
-webkit-text-stroke: 0;
-webkit-background-clip: text;
}

.sale.sale-on {
.hidden-sale-label {
background: linear-gradient(90deg, #ffffff 30%, #ff7ac3 100%);
background-clip: text;
}
}
9 changes: 0 additions & 9 deletions components/create/CreateNft.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,7 @@
:key="currentChain"
:label="$t('mint.nft.sale.label')"
required
class="sale"
:class="{ 'sale-on': form.sale }"
>
<span
aria-hidden="true"
class="hidden-sale-label"
>{{
$t('mint.nft.sale.label')
}}</span>

<div class="w-full">
<p>{{ $t('mint.nft.sale.message') }}</p>
</div>
Expand Down
Loading