tangled
alpha
login
or
join now
stream.place
/
streamplace
74
fork
atom
Live video on the AT Protocol
74
fork
atom
overview
issues
1
pulls
pipelines
tweak some bits more
Natalie B.
1 week ago
8dbe97e8
95db34cc
+3
-2
2 changed files
expand all
collapse all
unified
split
js
components
src
components
chat
badge.tsx
user-profile-card.tsx
+2
-2
js/components/src/components/chat/badge.tsx
···
1
1
-
import { Image } from "react-native";
1
1
+
import { Image, Platform } from "react-native";
2
2
import { ChatMessageViewHydrated } from "streamplace";
3
3
4
4
export const BADGE_IMAGES: Record<string, ReturnType<typeof require>> = {
···
22
22
style={{
23
23
height: size,
24
24
width: size,
25
25
-
marginBottom: -size / 5,
25
25
+
marginBottom: Platform.OS === "web" ? -size / 4 : 0,
26
26
marginRight: 2,
27
27
}}
28
28
/>
+1
js/components/src/components/chat/user-profile-card.tsx
···
186
186
marginLeft: -3,
187
187
paddingLeft: 3,
188
188
marginRight: -2,
189
189
+
...(Platform.OS === "web" && { paddingBottom: 4 }),
189
190
...(Platform.OS === "web" && hovered
190
191
? { backgroundColor: "rgba(255,255,255,0.15)", borderRadius: 6 }
191
192
: {}),