mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 13:19:09 +03:00
fix: styling of draggable report block header
When the drag handle is showing, it overlaps with the block header. Decrease the opacity of the header so the handle can be seen and the two can be distinguished.
This commit is contained in:
1 parent
e6b1e20889
commit
27c8b0095c
1 file changed
+6
-1
@@ -54,7 +54,12 @@ export const ReportBlockContainer = ({
|
||||
) : (
|
||||
<Code size={16} strokeWidth={1.5} className="text-foreground-muted" />
|
||||
)}
|
||||
<div className="flex items-center gap-2 flex-1">
|
||||
<div
|
||||
className={cn(
|
||||
'flex items-center gap-2 flex-1 transition-opacity',
|
||||
showDragHandle && 'group-hover:opacity-25'
|
||||
)}
|
||||
>
|
||||
<h3 className="heading-meta truncate">{label}</h3>
|
||||
{badge && <div className="flex items-center shrink-0">{badge}</div>}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user