Skip to content

Commit 0036287

Browse files
committed
fix(web): use Button for inheritance group rows and label storage last-run lines
1 parent 3b822f3 commit 0036287

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎apps/web/src/components/settings/SettingInheritance.tsx‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,10 @@ export function SettingInheritance({
335335
<Collapsible>
336336
<CollapsibleTrigger
337337
render={
338-
<button
339-
type="button"
340-
className="w-full rounded-md px-2 py-1 text-left hover:bg-foreground/[0.06] focus-visible:outline-2 focus-visible:outline-ring"
338+
<Button
339+
variant="ghost"
340+
size="sm-multiline"
341+
className="w-full justify-start text-left"
341342
/>
342343
}
343344
>

‎apps/web/src/components/settings/StorageSettings.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,9 @@ function CleanupSection() {
360360
? "Turn on a cleanup rule to use this."
361361
: summaries.map(({ environment, description }) => (
362362
<span key={environment.environmentId} className="block">
363-
{supported.length > 1 ? `${environment.label}: ` : ""}
363+
{supported.length > 1
364+
? `${settingsScopeEnvironmentLabel(environment, connectedEnvironments)}: `
365+
: ""}
364366
{description}
365367
</span>
366368
))}

0 commit comments

Comments
 (0)