File tree Expand file tree Collapse file tree 3 files changed +22
-14
lines changed
Expand file tree Collapse file tree 3 files changed +22
-14
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ import ReactGA from 'react-ga4'
2121import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'
2222import { configureMonacoYaml } from 'monaco-yaml'
2323
24+ import { ReactComponent as ICWarningY5 } from '@Icons/ic-warning-y5.svg'
2425import { ReactComponent as Info } from '../../Assets/Icon/ic-info-filled.svg'
2526import { ReactComponent as ErrorIcon } from '../../Assets/Icon/ic-error-exclamation.svg'
26- import { ReactComponent as WarningIcon } from '../../Assets/Icon/ic-warning.svg'
2727import './codeEditor.scss'
2828import 'monaco-editor'
2929
@@ -459,7 +459,7 @@ const ValidationError = () => {
459459
460460const Warning : React . FC < InformationBarProps > = ( props ) => (
461461 < div className = { `code-editor__warning ${ props . className || '' } ` } >
462- < WarningIcon className = "code-editor__information-info-icon" />
462+ < ICWarningY5 className = "code-editor__information-info-icon" />
463463 { props . text }
464464 { props . children }
465465 </ div >
Original file line number Diff line number Diff line change 105105 min-height : 300px ;
106106}
107107
108- .code-editor__warning {
109- font-size : 12px ;
110- font-weight : 400 ;
111- line-height : 1.33 ;
112- letter-spacing : normal ;
113- color : var (--Y700 );
114- height : auto ;
115- padding : 8px 16px ;
116- border-bottom : 1px solid #d6dbdf ;
117- background-color : var (--Y100 );
118- }
119-
120108.code-editor__information {
121109 font-size : 12px ;
122110 font-weight : 400 ;
You can’t perform that action at this time.
0 commit comments