Skip to content

Commit

Permalink
fix css ActionsPanel overflowing
Browse files Browse the repository at this point in the history
  • Loading branch information
aquaductape committed Apr 5, 2024
1 parent 922f7bf commit cd77829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ActionsPanel/ActionsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ const ActionsPanel = () => {
return (
<div
id="actions-panel"
class="flex gap-6 items-center text-#666 px-12px py-4px bg-white border-y-2 border-#CFCFCF dark:(border-#555 bg-dark) md:hidden"
class="flex gap-[clamp(20px,6vw,24px)] items-center text-#666 px-12px py-4px bg-white border-y-2 border-#CFCFCF dark:(border-#555 bg-dark) md:hidden"
>
<TogglePanelButton />
<div class="flex items-center gap-6 flex-grow justify-end">
<div class="flex items-center gap-[clamp(20px,6vw,24px)] flex-grow justify-end">
<button
/* TODO */
/* arbitrary-variant class [&_[data-icon-text]]:text-white fails to compile in unocss, so hardcoded the class in main.css */
Expand Down

0 comments on commit cd77829

Please sign in to comment.