Live video on the AT Protocol

Merge pull request #281 from streamplace/natb/hotfix-ios-cursor

hotfix: remove `cursor: pointer` + invalid dimension on iOS

authored by natalie and committed by GitHub 5af4e3c8 56eb2574

+4 -6
-1
js/app/components/chat/chat.tsx
··· 385 385 paddingVertical="$1" 386 386 paddingHorizontal="$2" 387 387 borderRadius="$2" 388 - marginLeft="-$1" 389 388 > 390 389 <Text fontSize={12} color={replyToColor} fontWeight="bold"> 391 390 {replyToHandle ? `@${replyToHandle}` : ""}
+4 -5
js/app/components/livestream/livestream.tsx
··· 157 157 } 158 158 }; 159 159 160 - // if width <600px or if in horizontal mode, use View, otherwise use ScrollView 161 - const MainView = 162 - (width < height && width < 980) || fullscreen ? View : ScrollView; 160 + const MainView = width < height && width < 980 ? View : ScrollView; 163 161 164 162 const dir = width < height && width < 980 ? "column" : "row"; 165 163 ··· 190 188 > 191 189 <MainView 192 190 width={videoWidth} 193 - height="100%" 194 191 maxHeight={videoHeight} 195 192 maxWidth={videoWidth} 196 193 fs={0} ··· 283 280 color: "$blue11", 284 281 }} 285 282 aria-label={`View @${streamerHandle} on Bluesky`} 286 - //style={{ cursor: "pointer" }} 283 + style={isWeb ? { cursor: "pointer" } : {}} 287 284 ellipse={true} 288 285 > 289 286 {`@${streamerHandle}`} ··· 347 344 backgroundColor="$background2" 348 345 animation={"quick"} 349 346 pt="$11" 347 + $gtXs={{ pt: 0 }} 350 348 transform={ 351 349 isIOS 352 350 ? [ ··· 361 359 ? { 362 360 paddingTop: 0, 363 361 width: isChatVisible ? 380 : 0, 362 + minWidth: isChatVisible ? 380 : 0, 364 363 flexBasis: isChatVisible ? 380 : 0, 365 364 flexShrink: 1, 366 365 borderLeftColor: "#666",