fix: align scope picker with catalog toolbar
This commit is contained in:
@@ -18,6 +18,7 @@ export function ScopePicker({
|
||||
value,
|
||||
onChange,
|
||||
local = false,
|
||||
inline = false,
|
||||
active = true,
|
||||
revision = "",
|
||||
options,
|
||||
@@ -28,6 +29,7 @@ export function ScopePicker({
|
||||
value: Scope;
|
||||
onChange: (scope: Scope) => void;
|
||||
local?: boolean;
|
||||
inline?: boolean;
|
||||
active?: boolean;
|
||||
revision?: string;
|
||||
options?: ScopeOption[];
|
||||
@@ -86,7 +88,10 @@ export function ScopePicker({
|
||||
value.universe &&
|
||||
Number.isFinite(value.delay);
|
||||
return (
|
||||
<section className="scope-picker" aria-label="组合选择">
|
||||
<section
|
||||
className={`scope-picker${inline ? " scope-picker-inline" : ""}`}
|
||||
aria-label="组合选择"
|
||||
>
|
||||
<div className="scope-picker-summary">
|
||||
<div>
|
||||
<span className="settings-label">组合</span>
|
||||
|
||||
Reference in New Issue
Block a user