Add formatting to Slot

This commit is contained in:
Chi Vinh Le
2018-02-13 21:17:24 +01:00
parent 0a324a2268
commit 4b2d9fc93a
2 changed files with 9 additions and 1 deletions
@@ -6,3 +6,11 @@
text-align: center;
font-size: 1.2em;
}
.slot > * {
margin-bottom: 8px;
&:last-child {
margin-bottom: 0px;
}
}
@@ -9,7 +9,7 @@ const External = ({ slot }) => (
<IfSlotIsNotEmpty slot={slot}>
<div>
<div className={styles.external}>
<Slot fill={slot} />
<Slot fill={slot} className={styles.slot} />
</div>
<div className={styles.separator}>
<h1>{t('talk-plugin-auth.login.or')}</h1>