Skip to content
New issue

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

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

Already on GitHub? # to your account

Popup refactor #1421

Merged
merged 11 commits into from
May 4, 2023
3 changes: 0 additions & 3 deletions src/docs/components/DocsAppBar/DocsAppBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
</li>
</ul>
</nav>
<!-- Arrow -->
<div class="arrow bg-surface-100-800-token" />
</div>
</div>
Expand Down Expand Up @@ -192,7 +191,6 @@
<a class="btn variant-ghost-surface w-full" href="/docs/generator">Create a Theme</a>
</div>
</div>
<!-- Arrow -->
<div class="arrow bg-surface-100-800-token" />
</div>
</div>
Expand Down Expand Up @@ -250,7 +248,6 @@
</li>
</ul>
</nav>
<!-- Arrow -->
<div class="arrow bg-surface-100-800-token" />
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/styles/elements/lists.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
/* Hover */
@apply bg-primary-hover-token;
/* Focus */
@apply focus:!variant-filled-primary outline-none;
@apply focus:variant-soft-primary outline-none;
/* Cursor */
@apply cursor-pointer;
/* Theme: Rounded */
Expand Down
4 changes: 2 additions & 2 deletions src/lib/styles/elements/popups.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

[data-popup] {
/* https://floating-ui.com/docs/computeposition#usage */
@apply absolute top-0 left-0; /* max-w-max */
@apply absolute top-0 left-0;
/* Set hidden on page load */
@apply hidden;
/* Transitions */
@apply transition-opacity duration-200;
@apply transition-opacity duration-150;
}

[data-popup] .arrow {
Expand Down
Loading