remove size prop for them

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2021-12-14 19:51:59 +01:00
parent 68e05c803b
commit efe74c3ddd
7 changed files with 7 additions and 7 deletions

View File

@ -115,7 +115,7 @@ class Report extends ImmutablePureComponent {
<Button className='button-alternative' size={30} onClick={this.handleCloseReport}> <Button className='button-alternative' size={30} onClick={this.handleCloseReport}>
<FormattedMessage id='admin.reports.actions.close' defaultMessage='Close' /> <FormattedMessage id='admin.reports.actions.close' defaultMessage='Close' />
</Button> </Button>
<DropdownMenu className='admin-report__dropdown' items={menu} src={require('@tabler/icons/icons/dots-vertical.svg')} size={24} direction='right' /> <DropdownMenu className='admin-report__dropdown' items={menu} src={require('@tabler/icons/icons/dots-vertical.svg')} direction='right' />
</div> </div>
</div> </div>
); );

View File

@ -119,7 +119,7 @@ class ReportStatus extends ImmutablePureComponent {
{media} {media}
</div> </div>
<div className='admin-report__status-actions'> <div className='admin-report__status-actions'>
<DropdownMenu items={menu} src={require('@tabler/icons/icons/dots-vertical.svg')} size={18} direction='right' /> <DropdownMenu items={menu} src={require('@tabler/icons/icons/dots-vertical.svg')} direction='right' />
</div> </div>
</div> </div>
); );

View File

@ -63,7 +63,7 @@ class Header extends ImmutablePureComponent {
}, },
]; ];
return <DropdownMenuContainer items={menu} src={require('@tabler/icons/icons/dots-vertical.svg')} size={24} direction='right' />; return <DropdownMenuContainer items={menu} src={require('@tabler/icons/icons/dots-vertical.svg')} direction='right' />;
} }
render() { render() {

View File

@ -88,7 +88,7 @@ class Header extends ImmutablePureComponent {
{ mfa_auth_needed && { mfa_auth_needed &&
<div className='otp-form-overlay__container'> <div className='otp-form-overlay__container'>
<div className='otp-form-overlay__form'> <div className='otp-form-overlay__form'>
<IconButton className='otp-form-overlay__close' title={intl.formatMessage(messages.close)} src={require('@tabler/icons/icons/x.svg')} onClick={this.onClickClose} size={20} /> <IconButton className='otp-form-overlay__close' title={intl.formatMessage(messages.close)} src={require('@tabler/icons/icons/x.svg')} onClick={this.onClickClose} />
<OtpAuthForm mfa_token={mfa_token} /> <OtpAuthForm mfa_token={mfa_token} />
</div> </div>
</div> </div>

View File

@ -23,7 +23,7 @@ class HotkeysModal extends ImmutablePureComponent {
<div className='modal-root__modal hotkeys-modal'> <div className='modal-root__modal hotkeys-modal'>
<div className='compose-modal__header'> <div className='compose-modal__header'>
<h3 className='compose-modal__header__title'><FormattedMessage id='keyboard_shortcuts.heading' defaultMessage='Keyboard shortcuts' /></h3> <h3 className='compose-modal__header__title'><FormattedMessage id='keyboard_shortcuts.heading' defaultMessage='Keyboard shortcuts' /></h3>
<IconButton className='compose-modal__close' title={intl.formatMessage(messages.close)} src={require('@tabler/icons/icons/x.svg')} onClick={onClose} size={20} /> <IconButton className='compose-modal__close' title={intl.formatMessage(messages.close)} src={require('@tabler/icons/icons/x.svg')} onClick={onClose} />
</div> </div>
<div className='compose-modal__content'> <div className='compose-modal__content'>
<table> <table>

View File

@ -68,7 +68,7 @@ class InstanceModerationPanel extends ImmutablePureComponent {
<span><FormattedMessage id='remote_instance.federation_panel.heading' defaultMessage='Federation Restrictions' /></span> <span><FormattedMessage id='remote_instance.federation_panel.heading' defaultMessage='Federation Restrictions' /></span>
</span> </span>
{isAdmin && <div className='wtf-panel__menu'> {isAdmin && <div className='wtf-panel__menu'>
<DropdownMenu items={menu} src={require('@tabler/icons/icons/dots-vertical.svg')} size={18} direction='right' /> <DropdownMenu items={menu} src={require('@tabler/icons/icons/dots-vertical.svg')} direction='right' />
</div>} </div>}
</div> </div>
<div className='wtf-panel__content'> <div className='wtf-panel__content'>

View File

@ -36,7 +36,7 @@ class UnauthorizedModal extends ImmutablePureComponent {
<div className='modal-root__modal compose-modal unauthorized-modal'> <div className='modal-root__modal compose-modal unauthorized-modal'>
<div className='compose-modal__header'> <div className='compose-modal__header'>
<h3 className='compose-modal__header__title'><FormattedMessage id='unauthorized_modal.title' defaultMessage='Sign up for {site_title}' values={{ site_title: siteTitle }} /></h3> <h3 className='compose-modal__header__title'><FormattedMessage id='unauthorized_modal.title' defaultMessage='Sign up for {site_title}' values={{ site_title: siteTitle }} /></h3>
<IconButton className='compose-modal__close' title={intl.formatMessage(messages.close)} src={require('@tabler/icons/icons/x.svg')} onClick={this.onClickClose} size={20} /> <IconButton className='compose-modal__close' title={intl.formatMessage(messages.close)} src={require('@tabler/icons/icons/x.svg')} onClick={this.onClickClose} />
</div> </div>
<div className='compose-modal__content'> <div className='compose-modal__content'>
<div className='unauthorized-modal__content'> <div className='unauthorized-modal__content'>