File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 542
542
543
543
.markup-block-error {
544
544
display : block !important ; /* override fomantic .ui.form .error.message {display: none} */
545
- border : 1 px solid var ( --color-error-border ) !important ;
545
+ border : none !important ;
546
546
margin-bottom : 0 !important ;
547
547
border-bottom-left-radius : 0 !important ;
548
548
border-bottom-right-radius : 0 !important ;
Original file line number Diff line number Diff line change 1
1
export function displayError ( el , err ) {
2
2
el . classList . remove ( 'is-loading' ) ;
3
- const errorNode = document . createElement ( 'div ' ) ;
4
- errorNode . setAttribute ( 'class' , 'ui message error markup-block-error gt-mono ' ) ;
3
+ const errorNode = document . createElement ( 'pre ' ) ;
4
+ errorNode . setAttribute ( 'class' , 'ui message error markup-block-error' ) ;
5
5
errorNode . textContent = err . str || err . message || String ( err ) ;
6
6
el . before ( errorNode ) ;
7
7
el . setAttribute ( 'data-render-done' , 'true' ) ;
You can’t perform that action at this time.
0 commit comments