Улучшена адаптивность элементов на странице операций

This commit is contained in:
goodmice 2022-09-15 16:52:13 +05:00
parent 9017ddf835
commit d49a6e1df3
4 changed files with 5 additions and 6 deletions

View File

@ -74,7 +74,6 @@ export const DrillerList = memo(({ loading, drillers, onChange }) => {
<Button <Button
onClick={onModalOpen} onClick={onModalOpen}
loading={isLoading} loading={isLoading}
style={{ marginRight: '10px' }}
>Список бурильщиков</Button> >Список бурильщиков</Button>
</> </>
) )

View File

@ -121,7 +121,6 @@ export const DrillerSchedule = memo(({ drillers, loading, onChange }) => {
<Button <Button
onClick={onModalOpen} onClick={onModalOpen}
loading={isLoading} loading={isLoading}
style={{ marginRight: '10px' }}
>Расписание бурильщиков</Button> >Расписание бурильщиков</Button>
</> </>
) )

View File

@ -117,7 +117,6 @@ const Operations = memo(() => {
<Select <Select
allowClear={false} allowClear={false}
options={categories} options={categories}
style={{ marginRight: '10px' }}
onChange={(v) => setSelectedCategory(v)} onChange={(v) => setSelectedCategory(v)}
value={selectedCategory} value={selectedCategory}
/> />
@ -127,7 +126,6 @@ const Operations = memo(() => {
disabled={isLoading} disabled={isLoading}
disabledDate={disabledDates} disabledDate={disabledDates}
disabledTime={disabledTimes} disabledTime={disabledTimes}
style={{ marginRight: '10px' }}
showTime={{ hideDisabledOptions: true }} showTime={{ hideDisabledOptions: true }}
/> />
<InputNumber <InputNumber
@ -137,7 +135,6 @@ const Operations = memo(() => {
onChange={setYDomain} onChange={setYDomain}
addonAfter={'мин'} addonAfter={'мин'}
addonBefore={'Верхняя граница'} addonBefore={'Верхняя граница'}
style={{ marginRight: '10px' }}
/> />
{permissions.driller.get && ( {permissions.driller.get && (
<> <>

View File

@ -1,7 +1,11 @@
.detected-operations-page { .detected-operations-page {
& .page-top { & .page-top {
width: 100%; width: 100%;
margin: 10px; margin: 5px;
& > * {
margin: 5px;
}
} }
} }