File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 542542
543543.markup-block-error {
544544 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 ;
546546 margin-bottom : 0 !important ;
547547 border-bottom-left-radius : 0 !important ;
548548 border-bottom-right-radius : 0 !important ;
Original file line number Diff line number Diff line change 11export function displayError ( el , err ) {
22 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' ) ;
55 errorNode . textContent = err . str || err . message || String ( err ) ;
66 el . before ( errorNode ) ;
77 el . setAttribute ( 'data-render-done' , 'true' ) ;
You can’t perform that action at this time.
0 commit comments