sticky boy
This commit is contained in:
parent
b47c9ba1ec
commit
df02ffd9c0
2 changed files with 2 additions and 2 deletions
|
|
@ -127,7 +127,7 @@ export function ActiveFiltersPanel({
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
onClick={onToggleCollapsed}
|
onClick={onToggleCollapsed}
|
||||||
className="shrink-0 flex items-center justify-between border-y border-teal-300 bg-teal-100 px-3 py-2 cursor-pointer hover:bg-teal-200 dark:border-teal-800 dark:bg-teal-900/50 dark:hover:bg-teal-900/70"
|
className="sticky top-0 z-40 md:static shrink-0 flex items-center justify-between border-y border-teal-300 bg-teal-100 px-3 py-2 cursor-pointer hover:bg-teal-200 dark:border-teal-800 dark:bg-teal-900/50 dark:hover:bg-teal-900/70"
|
||||||
>
|
>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<span className="text-sm font-bold text-navy-950 dark:text-warm-100">
|
<span className="text-sm font-bold text-navy-950 dark:text-warm-100">
|
||||||
|
|
|
||||||
|
|
@ -167,7 +167,7 @@ export function AddFilterPanel({
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
onClick={onToggleCollapsed}
|
onClick={onToggleCollapsed}
|
||||||
className="shrink-0 flex items-center justify-between border-b border-teal-300 bg-teal-100 px-3 py-2 cursor-pointer hover:bg-teal-200 dark:border-teal-800 dark:bg-teal-900/50 dark:hover:bg-teal-900/70"
|
className="sticky top-0 z-40 md:static shrink-0 flex items-center justify-between border-b border-teal-300 bg-teal-100 px-3 py-2 cursor-pointer hover:bg-teal-200 dark:border-teal-800 dark:bg-teal-900/50 dark:hover:bg-teal-900/70"
|
||||||
>
|
>
|
||||||
<span className="text-sm font-bold text-navy-950 dark:text-warm-100">
|
<span className="text-sm font-bold text-navy-950 dark:text-warm-100">
|
||||||
{t('filters.addFilter')}
|
{t('filters.addFilter')}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue