Refactor SimpleDateTimePropertyFilter styles for improved layout and alignment
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Adjusted margins and alignment properties for the SimpleDateTimePropertyFilter component to enhance visual consistency. - Updated styles for tree nodes and switchers to ensure better alignment and spacing within the component.
This commit is contained in:
parent
30e7aa2cf9
commit
61041e8391
@ -1108,14 +1108,25 @@ span.ant-skeleton-input.ant-skeleton-input-sm.text-skeleton {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.simple-date-time-property-filter {
|
.simple-date-time-property-filter {
|
||||||
margin-top: 3px;
|
margin: -6px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.simple-date-time-property-filter.ant-tree .ant-tree-treenode {
|
.simple-date-time-property-filter.ant-tree .ant-tree-treenode {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-tree-list-holder-inner > .ant-tree-treenode:last-child {
|
.simple-date-time-property-filter.ant-tree .ant-tree-switcher {
|
||||||
margin-bottom: 0;
|
align-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.simple-date-time-property-filter.ant-tree .ant-tree-switcher-leaf-line:after {
|
||||||
|
height: 0;
|
||||||
|
top: -5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.simple-date-time-property-filter.ant-tree .ant-tree-switcher-leaf-line:before {
|
||||||
|
top: -16px;
|
||||||
|
bottom: -24px;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user