Skip to content

Commit

Permalink
fix: remove css files, use component level css
Browse files Browse the repository at this point in the history
* fix: remove css files, use component css

* fix: remove height on html, body

* fix: global styles

* fix: revert setting document title in prebuilt

* build: increase roomkit-react size limit
  • Loading branch information
eswarclynn authored Jul 25, 2023
1 parent 41f8704 commit 9afd047
Show file tree
Hide file tree
Showing 14 changed files with 60 additions and 832 deletions.
8 changes: 5 additions & 3 deletions apps/100ms-web/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
useHMSActions,
useHMSStore,
} from "@100mslive/react-sdk";
import { Box, HMSThemeProvider } from "@100mslive/roomkit-react";
import { Box, globalStyles, HMSThemeProvider } from "@100mslive/roomkit-react";
import { AppData } from "./components/AppData/AppData.jsx";
import { BeamSpeakerLabelsLogging } from "./components/AudioLevel/BeamSpeakerLabelsLogging";
import { ErrorBoundary } from "./components/ErrorBoundary";
Expand All @@ -29,8 +29,6 @@ import { FlyingEmoji } from "./plugins/FlyingEmoji.jsx";
import { RemoteStopScreenshare } from "./plugins/RemoteStopScreenshare";
import { getRoutePrefix, shadeColor } from "./common/utils";
import { FeatureFlags } from "./services/FeatureFlags";
import "./base.css";
import "./index.css";

const Conference = React.lazy(() => import("./components/conference"));
const PreviewScreen = React.lazy(() => import("./components/PreviewScreen"));
Expand Down Expand Up @@ -79,6 +77,8 @@ export function EdtechComponent({
.split("-")
.map(el => parseInt(el));

globalStyles();

return (
<ErrorBoundary>
<HMSThemeProvider
Expand Down Expand Up @@ -116,6 +116,8 @@ export function EdtechComponent({
css={{
bg: "$mainBg",
w: "100%",
lineHeight: "1.5",
"-webkit-text-size-adjust": "100%",
...(headerPresent === "true"
? { flex: "1 1 0", minHeight: 0 }
: { h: "100%" }),
Expand Down
348 changes: 0 additions & 348 deletions apps/100ms-web/src/base.css

This file was deleted.

Loading

0 comments on commit 9afd047

Please sign in to comment.