fix: note creator styles
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Kieran 2023-10-18 11:21:17 +01:00
parent 2ff072f442
commit ab50afe917
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
2 changed files with 10 additions and 2 deletions

View File

@ -364,5 +364,13 @@
<path d="M11.772 7.4987L2.50033 7.4987C2.04009 7.4987 1.66699 7.1256 1.66699 6.66536C1.66699 6.20513 2.04009 5.83203 2.50033 5.83203L11.772 5.83203C12.142 4.39434 13.4471 3.33203 15.0003 3.33203C16.8413 3.33203 18.3337 4.82442 18.3337 6.66536C18.3337 8.50631 16.8413 9.9987 15.0003 9.9987C13.4471 9.9987 12.142 8.93639 11.772 7.4987Z" fill="currentColor"/>
<path d="M5.00033 9.9987C3.15938 9.9987 1.66699 11.4911 1.66699 13.332C1.66699 15.173 3.15938 16.6654 5.00033 16.6654C6.55352 16.6654 7.85861 15.6031 8.22864 14.1654L17.5003 14.1654C17.9606 14.1654 18.3337 13.7923 18.3337 13.332C18.3337 12.8718 17.9606 12.4987 17.5003 12.4987L8.22864 12.4987C7.85861 11.061 6.55352 9.9987 5.00033 9.9987Z" fill="currentColor"/>
</symbol>
<symbol id="list" viewBox="0 0 20 20" fill="none">
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.66699 9.9987C6.66699 9.53846 7.04009 9.16536 7.50033 9.16536L17.5003 9.16537C17.9606 9.16537 18.3337 9.53846 18.3337 9.9987C18.3337 10.4589 17.9606 10.832 17.5003 10.832L7.50033 10.832C7.04009 10.832 6.66699 10.4589 6.66699 9.9987Z" fill="currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.66699 4.9987C6.66699 4.53846 7.04009 4.16536 7.50033 4.16536L17.5003 4.16537C17.9606 4.16537 18.3337 4.53846 18.3337 4.9987C18.3337 5.45894 17.9606 5.83203 17.5003 5.83203L7.50033 5.83203C7.04009 5.83203 6.66699 5.45894 6.66699 4.9987Z" fill="currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.66699 14.9987C6.66699 14.5385 7.04009 14.1654 7.50033 14.1654L17.5003 14.1654C17.9606 14.1654 18.3337 14.5385 18.3337 14.9987C18.3337 15.4589 17.9606 15.832 17.5003 15.832L7.50033 15.832C7.04009 15.832 6.66699 15.4589 6.66699 14.9987Z" fill="currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.66699 9.9987C1.66699 9.07822 2.41318 8.33203 3.33366 8.33203C4.25413 8.33203 5.00033 9.07822 5.00033 9.9987C5.00033 10.9192 4.25413 11.6654 3.33366 11.6654C2.41318 11.6654 1.66699 10.9192 1.66699 9.9987Z" fill="currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.66699 4.9987C1.66699 4.07822 2.41318 3.33203 3.33366 3.33203C4.25413 3.33203 5.00033 4.07822 5.00033 4.9987C5.00033 5.91917 4.25413 6.66536 3.33366 6.66536C2.41318 6.66536 1.66699 5.91917 1.66699 4.9987Z" fill="currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.66699 14.9987C1.66699 14.0782 2.41318 13.332 3.33366 13.332C4.25413 13.332 5.00033 14.0782 5.00033 14.9987C5.00033 15.9192 4.25413 16.6654 3.33366 16.6654C2.41318 16.6654 1.66699 15.9192 1.66699 14.9987Z" fill="currentColor"/>
</symbol>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 98 KiB

View File

@ -452,7 +452,7 @@ export function NoteCreator() {
/>
{note.pollOptions === undefined && !note.replyTo && (
<AsyncIcon
iconName="pie-chart"
iconName="list"
iconSize={24}
onClick={() => note.update(v => (v.pollOptions = ["A", "B"]))}
className={classNames("note-creator-icon", { active: note.pollOptions !== undefined })}
@ -476,7 +476,7 @@ export function NoteCreator() {
<button className="secondary" onClick={cancel}>
<FormattedMessage defaultMessage="Cancel" />
</button>
<AsyncButton onClick={onSubmit}>
<AsyncButton onClick={onSubmit} className="primary">
{note.replyTo ? <FormattedMessage defaultMessage="Reply" /> : <FormattedMessage defaultMessage="Send" />}
</AsyncButton>
</div>