File tree Expand file tree Collapse file tree
java/com/flowingcode/vaadin/addons/errorwindow
resources/META-INF/resources/frontend/flowingcode Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -307,11 +307,11 @@ protected Html createErrorLabel() {
307307 label =
308308 label .concat (
309309 String .format (
310- "<br />%s<div class='uuid'>%s</div >" ,
310+ "<br />%s<br /><span class='uuid'>%s</span >" ,
311311 i18n .getInstructions (), uuid ));
312312 }
313313 final Html errorLabel = new Html ("<span>" + label + "</span>" );
314- errorLabel .getElement ().getStyle ().set ( "width" , "100% " );
314+ errorLabel .getElement ().getClassList ().add ( "errorlabel " );
315315 return errorLabel ;
316316 }
317317}
Original file line number Diff line number Diff line change 2828 font-weight : 600 ;
2929 font-size : var (--lumo-font-size-l );
3030 margin-top : 1em ;
31+ display : inline-block;
32+ margin-left : auto;
33+ width : 100% ;
34+ }
35+
36+ [theme ~= "error-window" ] .errorlabel {
37+ width : 100% ;
38+ word-break : break-all;
3139}
3240
3341[theme ~= "error-window" ] .stacktrace {
You can’t perform that action at this time.
0 commit comments