This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 3
3
< h1 > < %= ob.title %> </ h1 >
4
4
</ div >
5
5
< div class ="<%= ob.messageClass %> ">
6
- < p > < %= ob.message %> </ p >
6
+ < div class ="rowMd innerMessage ">
7
+ < %= ob.message %>
8
+ </ div >
7
9
< % if (ob.buttons.length) { %>
8
10
< div class ="buttonWrap ">
9
11
< % ob.buttons.forEach((btn, i) => { %>
@@ -16,4 +18,4 @@ <h1><%= ob.title %></h1>
16
18
</ div >
17
19
< % } %>
18
20
</ div >
19
- </ div >
21
+ </ div >
Original file line number Diff line number Diff line change @@ -39,12 +39,13 @@ export function updateReady(opts = {}) {
39
39
40
40
let displayData = '' ;
41
41
$ . each ( opts , ( key , val ) => {
42
- displayData += `<b>${ key } :</b> <br >${ val } <br >` ;
42
+ displayData += `<b>${ key } :</b> <pre style="white-space: pre-wrap" >${ val } </pre >` ;
43
43
} ) ;
44
44
45
45
updateReadyDialog = new Dialog ( {
46
46
title : app . polyglot . t ( 'update.ready.title' ) ,
47
47
message : `${ app . polyglot . t ( 'update.ready.msg' ) } <br><br>${ displayData } ` ,
48
+ messageClass : 'dialogScrollMsg' ,
48
49
buttons : [ {
49
50
text : app . polyglot . t ( 'update.install' ) ,
50
51
fragment : 'installUpdate' ,
Original file line number Diff line number Diff line change 6
6
.modalContent {
7
7
width : 600px ;
8
8
}
9
-
9
+
10
10
.msgWrap {
11
11
font-size : 1.4rem ;
12
12
}
13
13
14
14
& .dialog {
15
15
// specific to dialog styling
16
16
17
+ .dialogScrollMsg {
18
+ .innerMessage {
19
+ max-height : 425px ;
20
+ overflow : auto ;
21
+ margin-right : -15px ;
22
+ }
23
+ }
24
+
17
25
.buttonWrap {
18
26
text-align : center ;
19
27
}
You can’t perform that action at this time.
0 commit comments