fix(download): keep the GitHub label visible under the ribbon
This commit is contained in:
parent
eb6e38e20c
commit
70e33f290f
1 changed files with 3 additions and 1 deletions
|
|
@ -24,7 +24,9 @@ function GithubButtonOnHold() {
|
|||
<span aria-disabled="true" className="lv-cta-quiet-lg cursor-not-allowed opacity-60">
|
||||
{t('page.githubButton')}
|
||||
</span>
|
||||
<span className="pointer-events-none absolute left-1/2 top-1/2 w-[calc(100%+1.5rem)] -translate-x-1/2 -translate-y-1/2 -rotate-[7deg] rounded-sm bg-ember px-3 py-1 text-center font-code text-xs font-bold uppercase text-abyss shadow-lg">
|
||||
{/* Band sits on the top edge: the ribbon stays on top of the button
|
||||
without hiding its label. */}
|
||||
<span className="pointer-events-none absolute left-1/2 top-0 w-[calc(100%+1.5rem)] -translate-x-1/2 -translate-y-1/2 -rotate-[7deg] rounded-sm bg-ember px-3 py-1 text-center font-code text-xs font-bold uppercase text-abyss shadow-lg">
|
||||
{t('page.githubSoon')}
|
||||
</span>
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue