mirror of
https://github.com/harness/drone.git
synced 2025-05-04 20:23:25 +08:00
fix: [code-1991]: fix padding and scroll (#2119)
This commit is contained in:
parent
4c4924495c
commit
71d37cc632
@ -86,7 +86,7 @@
|
|||||||
|
|
||||||
.requiredContainer {
|
.requiredContainer {
|
||||||
display: inline-flex !important;
|
display: inline-flex !important;
|
||||||
padding: 0px 6px 0.5px 6px !important;
|
padding: 0px 11px 0.5px 11px !important;
|
||||||
justify-content: center !important;
|
justify-content: center !important;
|
||||||
align-items: center !important;
|
align-items: center !important;
|
||||||
gap: 10px !important;
|
gap: 10px !important;
|
||||||
@ -189,7 +189,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.paddingWithOutReq {
|
.paddingWithOutReq {
|
||||||
padding-right: 4rem !important;
|
padding-right: 4.15rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.changeContainerPadding {
|
.changeContainerPadding {
|
||||||
|
@ -492,7 +492,7 @@ const ChangesSection = (props: ChangesSectionProps) => {
|
|||||||
</Text>
|
</Text>
|
||||||
) : (
|
) : (
|
||||||
<Layout.Horizontal>
|
<Layout.Horizontal>
|
||||||
<Container padding={{ left: 'medium' }}>
|
<Container padding={{ left: 'large' }}>
|
||||||
<img alt="emptyStatus" width={16} height={16} src={emptyStatus} />
|
<img alt="emptyStatus" width={16} height={16} src={emptyStatus} />
|
||||||
</Container>
|
</Container>
|
||||||
|
|
||||||
|
@ -71,7 +71,9 @@ const CommentsSection = (props: MergeSectionProps) => {
|
|||||||
label: getString('unrsolvedComment'),
|
label: getString('unrsolvedComment'),
|
||||||
value: PRCommentFilterType.UNRESOLVED_COMMENTS
|
value: PRCommentFilterType.UNRESOLVED_COMMENTS
|
||||||
})
|
})
|
||||||
document.querySelectorAll('.bp3-input[value="Active"]')[0].scrollIntoView({ behavior: 'smooth' })
|
setTimeout(() => {
|
||||||
|
document.querySelectorAll('.bp3-input[value="Active"]')[0]?.scrollIntoView({ behavior: 'smooth' })
|
||||||
|
}, 0)
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
|
Loading…
Reference in New Issue
Block a user