show individual untracked files in git changes widget (#8574)
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
This commit is contained in:
@@ -11,12 +11,12 @@ interface WidgetProps {
|
||||
export function Widget({ title, icon, action, flush, children }: WidgetProps) {
|
||||
return (
|
||||
<div className="overflow-hidden rounded-md border border-border">
|
||||
<div className="flex h-8 items-center justify-between bg-background-alt px-3">
|
||||
<div className="flex h-8 items-center justify-between gap-2 bg-background-alt px-3">
|
||||
<div className="flex min-w-0 items-center gap-2 text-xs font-medium text-foreground">
|
||||
{icon}
|
||||
{title}
|
||||
</div>
|
||||
{action}
|
||||
{action && <div className="shrink-0">{action}</div>}
|
||||
</div>
|
||||
{flush ? (
|
||||
children
|
||||
|
||||
Reference in New Issue
Block a user