cloudflare / cloudflare/stream-react

Stream height

Offen
#86 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
198
Forks
30
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I have a div that contains a Stream component, I set the height of the div to 240px for mobile screens and 480px for large screens. The Stream component is rendered perfectly fit inside the div for large screens, but its height goes full screen for mobile screens (I tested on Chrome and Safari and they both have the same result). My question is how can we make the Stream height fit inside a div for mobile screens? Any suggestion?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reproducing the Stream component inside a div set to 240px on mobile screens and 480px on large screens, checking the behavior in Chrome and Safari. Trace how the component determines its height and verify that the mobile rendering remains within the containing div when the issue is resolved.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.