File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
-
2
1
# root {
3
2
height : 100vh ;
4
3
width : 100vw ;
28
27
width : 100% ;
29
28
}
30
29
31
- # sidebar {
30
+ /* #sidebar{
32
31
display: flex;
33
32
flex-direction: column;
34
33
padding: 5px;
35
34
width: 250px;
36
35
background-color: #202020;
37
36
padding-left: 15px;
38
- }
37
+ } */
39
38
.input-container {
40
39
display : block;
41
40
margin-top : 40px ;
Original file line number Diff line number Diff line change @@ -113,16 +113,15 @@ function App() {
113
113
114
114
return (
115
115
< div id = "container" style = { { display : "flex" } } >
116
- < div id = "sidebar" ref = { sidebarRef } >
116
+ < div
117
+ id = "sidebar"
118
+ className = "flex flex-col p-1 w-64 bg-gray-900 pl-4"
119
+ ref = { sidebarRef }
120
+ >
117
121
< h1 id = "drawRTC" > drawRTC</ h1 >
118
122
< div className = "input-container" id = "colorpicker" >
119
123
< label htmlFor = "stroke" > Stroke</ label >
120
- < input
121
- id = "stroke"
122
- name = "stroke"
123
- type = "color"
124
- onChange = { addStroke }
125
- />
124
+ < input id = "stroke" name = "stroke" type = "color" onChange = { addStroke } />
126
125
</ div >
127
126
< div className = "input-container" id = "linewidth" >
128
127
< label htmlFor = "lineWidth" > Line Width</ label >
You can’t perform that action at this time.
0 commit comments