File tree Expand file tree Collapse file tree 2 files changed +42
-6
lines changed
Expand file tree Collapse file tree 2 files changed +42
-6
lines changed Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > VSCode Elements</ title >
7+ < link
8+ rel ="stylesheet "
9+ href ="/node_modules/@vscode/codicons/dist/codicon.css "
10+ id ="vscode-codicon-stylesheet "
11+ >
12+ < script
13+ type ="module "
14+ src ="/node_modules/@vscode-elements/webview-playground/dist/index.js "
15+ > </ script >
16+ < script type ="module " src ="/dist/main.js "> </ script >
17+ < script >
18+ const logEvents = ( selector , eventType ) => {
19+ document . querySelector ( selector ) . addEventListener ( eventType , ( ev ) => {
20+ console . log ( ev ) ;
21+ } ) ;
22+ } ;
23+ </ script >
24+ </ head >
25+
26+ < body >
27+ < main >
28+ < vscode-demo >
29+ < vscode-form-group >
30+ < vscode-label for ="textfield "> Label example</ vscode-label >
31+ < vscode-textfield id ="textfield "> </ vscode-textfield
32+ > </ vscode-form-group >
33+ </ vscode-demo >
34+ </ main >
35+ </ body >
36+ </ html >
Original file line number Diff line number Diff line change @@ -6,20 +6,20 @@ const styles: CSSResultGroup = [
66 defaultStyles ,
77 css `
88 : host {
9+ dis play: block;
10+ }
11+
12+ .wrapper {
913 color : var (--vscode-foreground , # cccccc );
14+ cursor : default;
15+ display : block;
1016 font-family : var (--vscode-font-family , sans-serif);
1117 font-size : var (--vscode-font-size , 13px );
1218 font-weight : 600 ;
1319 line-height : ${ INPUT_LINE_HEIGHT_RATIO } ;
14- cursor : default;
15- dis play: block;
1620 padding : 5px 0 ;
1721 }
1822
19- .wrapper {
20- display : block;
21- }
22-
2323 .wrapper .required : after {
2424 content : ' *' ;
2525 }
You can’t perform that action at this time.
0 commit comments