mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-18 22:44:26 +01:00
fix: content-warning icon on iOS
This commit is contained in:
@@ -400,7 +400,7 @@ const NotePostForm: Component<NotePostFormProps> = (props) => {
|
|||||||
</Show>
|
</Show>
|
||||||
<EmojiPicker customEmojis={true} onEmojiSelect={handleEmojiSelect}>
|
<EmojiPicker customEmojis={true} onEmojiSelect={handleEmojiSelect}>
|
||||||
<span
|
<span
|
||||||
class="inline-block rounded bg-primary font-bold text-primary-fg"
|
class="inline-block rounded bg-primary text-primary-fg"
|
||||||
classList={{
|
classList={{
|
||||||
'h-8': mode() === 'normal',
|
'h-8': mode() === 'normal',
|
||||||
'w-8': mode() === 'normal',
|
'w-8': mode() === 'normal',
|
||||||
@@ -414,7 +414,7 @@ const NotePostForm: Component<NotePostFormProps> = (props) => {
|
|||||||
</span>
|
</span>
|
||||||
</EmojiPicker>
|
</EmojiPicker>
|
||||||
<button
|
<button
|
||||||
class="flex items-center justify-center rounded p-2 text-xs font-bold text-primary-fg"
|
class="rounded text-primary-fg"
|
||||||
classList={{
|
classList={{
|
||||||
'bg-primary': !contentWarning(),
|
'bg-primary': !contentWarning(),
|
||||||
'bg-primary-hover': contentWarning(),
|
'bg-primary-hover': contentWarning(),
|
||||||
@@ -433,7 +433,7 @@ const NotePostForm: Component<NotePostFormProps> = (props) => {
|
|||||||
<ExclamationTriangle />
|
<ExclamationTriangle />
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="rounded font-bold text-primary-fg"
|
class="rounded text-primary-fg"
|
||||||
classList={{
|
classList={{
|
||||||
'bg-primary-disabled': fileUploadDisabled(),
|
'bg-primary-disabled': fileUploadDisabled(),
|
||||||
'bg-primary': !fileUploadDisabled(),
|
'bg-primary': !fileUploadDisabled(),
|
||||||
@@ -453,7 +453,7 @@ const NotePostForm: Component<NotePostFormProps> = (props) => {
|
|||||||
<Photo />
|
<Photo />
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="rounded p-2 font-bold text-primary-fg"
|
class="rounded p-2 text-primary-fg"
|
||||||
classList={{
|
classList={{
|
||||||
'bg-primary-disabled': submitDisabled(),
|
'bg-primary-disabled': submitDisabled(),
|
||||||
'bg-primary': !submitDisabled(),
|
'bg-primary': !submitDisabled(),
|
||||||
|
|||||||
Reference in New Issue
Block a user