fix: [code-1183]: fix formatting in merge alert (#868)

This commit is contained in:
Calvin Lee 2023-12-05 18:58:20 +00:00 committed by Harness
parent eb1de5f848
commit 30d678b5bd
3 changed files with 6 additions and 3 deletions

View File

@ -17,4 +17,6 @@
background: var(--primary-bg) !important;
width: fit-content !important;
height: 36px !important;
overflow: hidden !important;
line-height: 36px !important;
}

View File

@ -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>

View File

@ -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;