File tree 3 files changed +4
-2
lines changed 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 5
5
< title > Diplomat Demo Generation Example</ title >
6
6
< script src ="dist/index.bundle.js "> </ script >
7
7
< link rel ="stylesheet " href ="dist/index.css "/>
8
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
8
9
</ head >
9
10
< body >
10
11
< div class ="container ">
Original file line number Diff line number Diff line change 5
5
< script src ="dist/rendering.bundle.js " defer > </ script >
6
6
< title > Rendering Function</ title >
7
7
< link rel ="stylesheet " href ="dist/index.css "/>
8
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
8
9
</ head >
9
10
< body >
10
11
< div id ="main " class ="container ">
14
15
< template id ="terminus ">
15
16
< link rel ="stylesheet " href ="dist/index.css "/>
16
17
< div class ="vstack gap-2 ">
17
- < h1 > < slot name ="func-name "> </ slot > </ h1 >
18
+ < h1 class =" text-break " > < slot name ="func-name "> </ slot > </ h1 >
18
19
< slot name ="parameters "> </ slot >
19
20
< button type ="submit " class ="btn btn-primary " data-submit > Submit</ button >
20
21
< div class ="card ">
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ import { RenderInfo } from "icu4x/demo";
3
3
Object . values ( RenderInfo . termini ) . forEach ( ( t ) => {
4
4
let a = document . createElement ( "a" ) ;
5
5
a . classList . add ( "list-group-item" , "list-group-item-action" ) ;
6
- a . innerHTML = `<a href="template.html?func=${ t . funcName } ">${ t . funcName } </a>` ;
6
+ a . innerHTML = `<a href="template.html?func=${ t . funcName } " class="text-break" >${ t . funcName } </a>` ;
7
7
document . getElementById ( "links" ) . appendChild ( a ) ;
8
8
} ) ;
You can’t perform that action at this time.
0 commit comments