mirror of
https://github.com/brianlovin/security-checklist.git
synced 2026-03-11 08:55:31 +00:00
Design fixes
This commit is contained in:
parent
66b2e0b3ea
commit
d3e0e20cae
2 changed files with 6 additions and 6 deletions
|
|
@ -66,9 +66,9 @@ export default function Header(props: Props) {
|
|||
id="progress_tooltip"
|
||||
role="tooltip"
|
||||
>
|
||||
{ currentCount === totalItemsCount && `🎉 `}
|
||||
{currentCount} of {totalItemsCount} completed
|
||||
{ currentCount === totalItemsCount && ` 🎉`}
|
||||
{ currentCount === totalItemsCount
|
||||
? `🎉 Checklist Complete! 🎉`
|
||||
: `${currentCount} of ${totalItemsCount} completed`}
|
||||
</ProgressLabel>
|
||||
<Confetti fireConfetti={currentCount === totalItemsCount} />
|
||||
</Progression>)}
|
||||
|
|
|
|||
|
|
@ -97,9 +97,9 @@ export const ProgressLabel = styled.p`
|
|||
white-space: nowrap;
|
||||
${Shadows.default};
|
||||
|
||||
${Progression}:hover &,
|
||||
${Progression}:focus &,
|
||||
${Progression}:active &
|
||||
${Progression}:hover ${ProgressBar}:not([disabled]) + &,
|
||||
${Progression}:focus ${ProgressBar}:not([disabled]) + &,
|
||||
${Progression}:active ${ProgressBar}:not([disabled]) + &
|
||||
{
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue