Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions assets/js/dashboard/components/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ export const TabButton = ({
})}
>
<button
className={classNames('group/tab flex rounded-sm', className)}
className={classNames(
'group/tab relative flex rounded-sm before:absolute before:inset-[-16px_-6px] before:content-[" "]',
className
)}
onClick={onClick}
>
<TabButtonText active={active}>{children}</TabButtonText>
Expand Down Expand Up @@ -92,7 +95,7 @@ export const DropdownTabButton = ({
})}
>
<Popover.Button
className="group/tab inline-flex justify-between rounded-xs"
className="group/tab relative inline-flex justify-between rounded-xs before:absolute before:inset-[-16px_-6px] before:content-[' ']"
ref={dropdownButtonRef}
>
<TabButtonText active={active}>{children}</TabButtonText>
Expand Down
2 changes: 1 addition & 1 deletion assets/js/dashboard/stats/more-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function MoreLink({ linkProps, state }) {
}, [])

const baseClassName =
'flex mt-px text-gray-500 dark:text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors duration-150'
'relative flex mt-px text-gray-500 dark:text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors duration-150 before:absolute before:inset-[-8px] before:content-[" "]'
const icon = detailsIcon()

if (state === MoreLinkState.HIDDEN) {
Expand Down
Loading