Update tailwind css and cleanup classNames (#10107)

* Bump tailwindcss from 3.3.5 to 3.4.1 in /web

Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.3.5 to 3.4.1.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.5...v3.4.1)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update tailwind css and cleanup

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Nicolas Mowen
2024-02-27 20:40:57 -07:00
committed by GitHub
parent 7fa9a3df42
commit 9893741990
12 changed files with 35 additions and 121 deletions

View File

@@ -88,7 +88,7 @@ function Live() {
}, []);
return (
<div className="w-full h-full overflow-y-scroll px-2">
<div className="size-full overflow-y-scroll px-2">
{isMobile && (
<div className="relative h-9 flex items-center justify-between">
<Logo className="absolute inset-y-0 inset-x-1/2 -translate-x-1/2 h-8" />
@@ -128,7 +128,7 @@ function Live() {
)}
<div
className={`mt-4 grid ${layout == "grid" ? "grid-cols-2 xl:grid-cols-3 3xl:grid-cols-4" : ""} gap-2 md:gap-4`}
className={`mt-4 grid ${layout == "grid" ? "grid-cols-2 xl:grid-cols-3 3xl:grid-cols-4" : ""} gap-2 md:gap-4 *:rounded-2xl *:bg-black`}
>
{cameras.map((camera) => {
let grow;
@@ -143,7 +143,7 @@ function Live() {
return (
<LivePlayer
key={camera.name}
className={`rounded-2xl bg-black ${grow}`}
className={grow}
windowVisible={windowVisible}
cameraConfig={camera}
preferredLiveMode={isSafari ? "webrtc" : "mse"}