Skip to content

Commit 8feac9b

Browse files
committed
Styles
1 parent 6d19a5a commit 8feac9b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/presence/Chat.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ import { usePresence } from "./presence-context";
44

55
const styles: Record<string, React.CSSProperties> = {
66
container: {
7+
boxSizing: "border-box",
78
position: "fixed",
89
bottom: "24px",
910
right: "32px",
1011
padding: "8px",
12+
height: "48px",
1113
borderRadius: "24px",
1214
minWidth: "4.4em",
1315
backgroundColor: "rgba(52, 199, 89, 1)",
@@ -19,27 +21,27 @@ const styles: Record<string, React.CSSProperties> = {
1921
fontFamily:
2022
'system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
2123
fontWeight: 320,
22-
height: "32px",
2324
},
2425
input: {
26+
boxSizing: "border-box",
2527
padding: "0px 4px 0px 4px",
2628
margin: "0px",
2729
fontSize: "24px",
2830
lineHeight: 1,
2931
whiteSpace: "nowrap",
3032
},
3133
button: {
34+
boxSizing: "border-box",
3235
width: "32px",
3336
height: "32px",
34-
boxSizing: "border-box",
3537
borderRadius: "50%",
3638
display: "flex",
3739
justifyContent: "center",
3840
alignItems: "center",
3941
fontSize: "24px",
40-
paddingBottom: "2px",
41-
paddingLeft: "1px",
4242
fontWeight: 250,
43+
padding: "0px",
44+
margin: "0px",
4345
border: "0.5px solid rgba(255,255,255,0.75)",
4446
cursor: "pointer",
4547
color: "white",

src/presence/cursor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default function Cursor(props: {
8181
fontFamily:
8282
'system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
8383
color: "white",
84-
padding: "0.4em 0.8em 0.45em",
84+
padding: "4px 9px 4px 9px",
8585
borderRadius: "16px 16px 16px 16px",
8686
whiteSpace: "nowrap",
8787
backgroundColor: "rgba(52,199,89,1)", // or props.fill,

0 commit comments

Comments
 (0)