mirror of
https://github.com/harness/drone.git
synced 2025-05-09 23:40:15 +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;
|
||||
width: fit-content !important;
|
||||
height: 36px !important;
|
||||
overflow: hidden !important;
|
||||
line-height: 36px !important;
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ const RuleViolationAlertModal = (props: ViolationAlertModalProps) => {
|
||||
{rules?.map((rule, idx) => {
|
||||
return (
|
||||
<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}
|
||||
</Text>
|
||||
</Container>
|
||||
|
@ -141,8 +141,9 @@
|
||||
background-color: var(--grey-0) !important;
|
||||
border-left: 1px solid var(--grey-200) !important;
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
|
||||
top: 0;
|
||||
height: 100vh;
|
||||
overflow-y: auto;
|
||||
.featureText {
|
||||
font-size: 13px !important;
|
||||
font-weight: 600 !important;
|
||||
|
Loading…
Reference in New Issue
Block a user