Skip to content

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

fix(followers): more followers style tweaks

Gabe Kangasc2dc7ff7b3c9
diff --git a/web/components/ui/followers/SingleFollower/SingleFollower.module.scss b/web/components/ui/followers/SingleFollower/SingleFollower.module.scss
index cfc0c100d7..e6a8d62428 100644
--- a/web/components/ui/followers/SingleFollower/SingleFollower.module.scss
+++ b/web/components/ui/followers/SingleFollower/SingleFollower.module.scss
@@ -9,6 +9,7 @@
background-color: var(--theme-color-background-main);
margin: 0.5em;
font-size: 1rem;
+ line-height: 1.5rem;
&:hover {
border-color: var(--theme-text-link);
@@ -29,18 +30,19 @@
}
.account {
+ display: block;
color: var(--theme-color-components-text-on-light);
- text-overflow: ellipsis;
- line-height: 1.2rem;
-
- p {
- margin: 0;
- }
+ font-size: 0.7rem;
+ line-height: 1.2;
}
.username {
+ display: block;
font-family: var(--theme-text-display-font-family);
font-weight: 600;
color: var(--theme-color-components-text-on-light);
+ font-size: 1rem;
+ line-height: 1.1;
+ padding-bottom: 5px;
}
}
diff --git a/web/components/ui/followers/SingleFollower/SingleFollower.tsx b/web/components/ui/followers/SingleFollower/SingleFollower.tsx
index 48f43d48e4..44b689bc40 100644
--- a/web/components/ui/followers/SingleFollower/SingleFollower.tsx
+++ b/web/components/ui/followers/SingleFollower/SingleFollower.tsx
@@ -9,9 +9,9 @@ export type SingleFollowerProps = {
};
export const SingleFollower: FC<SingleFollowerProps> = ({ follower }) => (
- <div className={cn([styles.follower, 'followers-follower'])}>
+ <div>
<a href={follower.link} target="_blank" rel="noreferrer">
- <Row wrap={false}>
+ <Row wrap={false} className={cn([styles.follower, 'followers-follower'])}>
<Col span={6} className={styles.avatarColumn}>
<Avatar
src={follower.image}