mirror of
https://github.com/wassname/talk.git
synced 2026-07-14 11:18:50 +08:00
Add formatting to Slot
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user