style cleanup

This commit is contained in:
Sean Yesmunt 2020-03-30 08:57:15 -04:00
parent c4fc2993d5
commit f7846e976a
2 changed files with 12 additions and 6 deletions

View file

@ -35,7 +35,7 @@ function Ads(props: Props) {
js.className = n; js.className = n;
js.src = 'https://stream.playbuzz.com/player/62d1eb10-e362-4873-99ed-c64a4052b43b'; js.src = 'https://stream.playbuzz.com/player/62d1eb10-e362-4873-99ed-c64a4052b43b';
// $FlowFixMe // $FlowFixMe
fjs.parentNode.inmodifiedUrlQuerysertBefore(js, fjs); fjs.parentNode.insertBefore(js, fjs);
} catch (e) {} } catch (e) {}
} }
}, [type]); }, [type]);

View file

@ -23,7 +23,7 @@
display: flex; display: flex;
> div { > div {
width: 50%; width: 40%;
position: relative !important; position: relative !important;
} }
@ -31,10 +31,12 @@
z-index: 1 !important; z-index: 1 !important;
} }
.pbs__player.pb-stream-sticky-on { @media (max-width: $breakpoint-small) {
position: relative !important; flex-direction: column;
z-index: 1 !important;
margin-top: -140px !important; > div {
width: 100%;
}
} }
} }
@ -43,6 +45,10 @@
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
padding-left: var(--spacing-large); padding-left: var(--spacing-large);
@media (max-width: $breakpoint-small) {
padding-left: 0;
}
} }
.ads__claim-text--small { .ads__claim-text--small {