Merge pull request #12133 from ramonlsouza/issue-12117

Fix new poll button sizes
This commit is contained in:
Anton Georgiev 2021-04-23 12:58:00 -04:00 committed by GitHub
commit f0d9a96bba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View File

@ -442,7 +442,7 @@ class Poll extends Component {
],
});
}}
className={cx(styles.pBtn, { [styles.selectedBtnBlue]: type === 'TF' })}
className={cx(styles.pBtn, styles.btnMR, { [styles.selectedBtnBlue]: type === 'TF' })}
/>
<Button
label={intl.formatMessage(intlMessages.a4)}
@ -458,7 +458,7 @@ class Poll extends Component {
],
});
}}
className={cx(styles.pBtn, { [styles.selectedBtnBlue]: type === 'A-' })}
className={cx(styles.pBtn, styles.btnML, { [styles.selectedBtnBlue]: type === 'A-' })}
/>
</div>
<Button

View File

@ -6,7 +6,7 @@
--poll-column-amount: 2;
--poll-blue: #1A73D4;
--poll-header-offset: -0.875rem;
--poll-addItem-width: 6rem;
--poll-addItem-width: 100%;
--poll-input-height: 2.5rem;
}
@ -223,7 +223,7 @@
button {
position: relative;
width: 47%;
width: 100%;
}
}
@ -330,6 +330,14 @@
}
}
.btnML {
margin-left: 3%;
}
.btnMR {
margin-right: 3%;
}
.deleteBtn {
font-size: var(--font-size-base);
position: relative;