Skip to content

Commit

Permalink
Merge pull request #11073 from Jarsen136/issue-11070
Browse files Browse the repository at this point in the history
fix: Create NFT - adjust font
  • Loading branch information
vikiival authored Oct 3, 2024
2 parents 6565469 + 3eb4ea6 commit b24fdee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
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

0 comments on commit b24fdee

Please sign in to comment.