smaller Tabs; fix defaultValues for MapPrint; reduce Fill style for regionsLayer; add gis interfaces;

This commit is contained in:
2025-09-24 17:51:33 +09:00
parent 7dd7878e49
commit 9758ab65b6
4 changed files with 13 additions and 5 deletions

View File

@ -229,9 +229,7 @@ const MapPrint = ({
<Field label="Масштаб">
<Dropdown
defaultValue={printScale.toString()}
value={printScale.toString()}
defaultSelectedOptions={[printScale]}
selectedOptions={[printScale]}
onOptionSelect={(_, data) => setPrintScale(id, data.optionValue as PrintScale)}
>

View File

@ -149,7 +149,7 @@ const regionsLayerStyle = new Style({
width: 1,
}),
fill: new Fill({
color: 'rgba(0, 0, 255, 0.1)',
color: 'rgba(0, 0, 255, 0.01)',
}),
})

View File

@ -34,9 +34,9 @@ const TabsPane = ({
minHeight: 'min-content',
borderBottom: '1px solid var(--colorNeutralShadowKey)'
}}>
<TabList selectedValue={selectedTab} onTabSelect={(_, data) => setSelectedTab(data.value)}>
<TabList size='small' selectedValue={selectedTab} onTabSelect={(_, data) => setSelectedTab(data.value)}>
{tabs.map((tab) => (
<Tab value={tab.value}>{tab.title}</Tab>
<Tab key={tab.value} value={tab.value}>{tab.title}</Tab>
))}
</TabList>
</div>