Skip to content

Commit 29c498d

Browse files
committed
change CSS to tailwind
1 parent 1db9414 commit 29c498d

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

client/src/App.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
#root {
32
height: 100vh;
43
width: 100vw;
@@ -28,14 +27,14 @@
2827
width: 100%;
2928
}
3029

31-
#sidebar{
30+
/* #sidebar{
3231
display: flex;
3332
flex-direction: column;
3433
padding: 5px;
3534
width: 250px;
3635
background-color: #202020;
3736
padding-left: 15px;
38-
}
37+
} */
3938
.input-container {
4039
display: block;
4140
margin-top: 40px;

client/src/App.jsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,15 @@ function App() {
113113

114114
return (
115115
<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+
>
117121
<h1 id="drawRTC">drawRTC</h1>
118122
<div className="input-container" id="colorpicker">
119123
<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} />
126125
</div>
127126
<div className="input-container" id="linewidth">
128127
<label htmlFor="lineWidth">Line Width</label>

client/src/components/Header.jsx

Whitespace-only changes.

0 commit comments

Comments
 (0)