mirror of
https://github.com/harness/drone.git
synced 2025-05-10 12:20:40 +08:00
fix: [code-1183]: fix formatting in merge alert (#868)
This commit is contained in:
parent
eb1de5f848
commit
30d678b5bd
@ -17,4 +17,6 @@
|
|||||||
background: var(--primary-bg) !important;
|
background: var(--primary-bg) !important;
|
||||||
width: fit-content !important;
|
width: fit-content !important;
|
||||||
height: 36px !important;
|
height: 36px !important;
|
||||||
|
overflow: hidden !important;
|
||||||
|
line-height: 36px !important;
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,7 @@ const RuleViolationAlertModal = (props: ViolationAlertModalProps) => {
|
|||||||
{rules?.map((rule, idx) => {
|
{rules?.map((rule, idx) => {
|
||||||
return (
|
return (
|
||||||
<Container key={`violation-${idx}`} flex={{ alignItems: 'center' }} className={css.ruleContainer}>
|
<Container key={`violation-${idx}`} flex={{ alignItems: 'center' }} className={css.ruleContainer}>
|
||||||
<Text padding="small" className={css.ruleText}>
|
<Text padding="small" lineClamp={1} className={css.ruleText}>
|
||||||
{rule.violation}
|
{rule.violation}
|
||||||
</Text>
|
</Text>
|
||||||
</Container>
|
</Container>
|
||||||
|
@ -141,8 +141,9 @@
|
|||||||
background-color: var(--grey-0) !important;
|
background-color: var(--grey-0) !important;
|
||||||
border-left: 1px solid var(--grey-200) !important;
|
border-left: 1px solid var(--grey-200) !important;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
bottom: 0;
|
top: 0;
|
||||||
|
height: 100vh;
|
||||||
|
overflow-y: auto;
|
||||||
.featureText {
|
.featureText {
|
||||||
font-size: 13px !important;
|
font-size: 13px !important;
|
||||||
font-weight: 600 !important;
|
font-weight: 600 !important;
|
||||||
|
Loading…
Reference in New Issue
Block a user