fix public msg form icon

This commit is contained in:
Martti Malmi 2023-04-27 10:26:58 +03:00
parent 7c9e4eff21
commit 9f6bafd9f7
4 changed files with 3 additions and 3 deletions

View File

@ -2221,6 +2221,7 @@ form.public button[type='submit'] span {
}
form.public button:last-of-type {
padding-top: 3px;
margin-right: 0;
}

View File

@ -1,3 +1,4 @@
import { PaperAirplaneIcon } from '@heroicons/react/24/outline';
import { html } from 'htm/preact';
import $ from 'jquery';
import { createRef } from 'preact';
@ -264,7 +265,7 @@ class PublicMessageForm extends MessageForm {
</button>
<button type="submit">
<span>${t('post')} </span>
${Icons.chat}
<${PaperAirplaneIcon} width="24" style="margin-top:5px" />
</button>
</div>
`}

View File

@ -17,7 +17,6 @@ import Name from '../components/Name';
import ProfilePicture from '../components/ProfilePicture';
import { isSafeOrigin } from '../components/SafeImg';
import Helpers from '../Helpers';
import Icons from '../Icons';
import localState from '../LocalState';
import Events from '../nostr/Events';
import Key from '../nostr/Key';

View File

@ -4,7 +4,6 @@ import { html } from 'htm/preact';
import $ from 'jquery';
import MessageForm from '../../components/MessageForm';
import Torrent from '../../components/Torrent';
import Helpers from '../../Helpers';
import EmojiButton from '../../lib/emoji-button';
import localState from '../../LocalState';