Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Logo now uses clamp to determine size

t1ennec3d5c9df521a
diff --git a/web/components/ui/Logo/Logo.module.scss b/web/components/ui/Logo/Logo.module.scss
index 5e16c4d4e5..242c2167b7 100644
--- a/web/components/ui/Logo/Logo.module.scss
+++ b/web/components/ui/Logo/Logo.module.scss
@@ -1,11 +1,11 @@
-.logo {
+.root {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
overflow: hidden;
- width: 120px;
- height: 120px;
+ width: clamp(5vw, 90px, 120px);
+ height: clamp(5vw, 90px, 120px);
border-radius: 50%;
border-width: 3px;
border-style: solid;
@@ -26,4 +26,4 @@
background-size: cover;
background-position: center;
overflow: hidden;
-}
\ No newline at end of file
+}
diff --git a/web/components/ui/Logo/Logo.tsx b/web/components/ui/Logo/Logo.tsx
index bb9d36c173..c42aaccda2 100644
--- a/web/components/ui/Logo/Logo.tsx
+++ b/web/components/ui/Logo/Logo.tsx
@@ -6,7 +6,7 @@ interface Props {
export default function Logo({ src }: Props) {
return (
- <div className={s.logo}>
+ <div className={s.root}>
<div className={s.container}>
<div className={s.image} style={{ backgroundImage: `url(${src})` }} />
</div>