File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 8
8
< meta name ="manifest.type " content ="browser_action " />
9
9
</ head >
10
10
11
- < body >
12
- < div id ="root " style ="width: 300px ; padding: 10px; ">
11
+ < body style =" background-color: #170b09; color:#e6d4d1; " >
12
+ < div id ="root " style ="width: 500px ; padding: 10px; ">
13
13
< h1 > NRK TV Dual Subtitles</ h1 >
14
- < p > Settings have moved to the builtin media-player's subtitle menu</ p >
14
+ < p style ="margin: 0; padding: 0; "> Settings have moved to the builtin media-player's subtitle menu</ p >
15
+ < div style ="display: inline-flex; align-items: center; gap: 5px; ">
16
+ < p > Have a feature request or bug report? </ p >
17
+ < a href ="https://github.com/rioam2/nrktv-dual-subs/issues " target ="_blank " style ="color: inherit; ">
18
+ Create a ticket on Github
19
+ </ a >
20
+ </ div >
15
21
</ div >
22
+ < script type ="module " src ="./main.ts "> </ script >
16
23
</ body >
17
24
18
25
</ html >
Original file line number Diff line number Diff line change
1
+ import { demoSrc } from './demo' ;
2
+
3
+ const demoImg = document . createElement ( 'img' ) ;
4
+ demoImg . src = demoSrc ;
5
+ demoImg . style . width = '100%' ;
6
+ demoImg . style . height = 'auto' ;
7
+ demoImg . style . borderRadius = '8px' ;
8
+ demoImg . style . margin = '16px 0' ;
9
+ demoImg . style . border = '0.5px solid #ccc' ;
10
+
11
+ document . getElementById ( 'root' ) ?. appendChild ( demoImg ) ;
You can’t perform that action at this time.
0 commit comments