🎨
This commit is contained in:
parent
c9819babfe
commit
1679a40c76
7 changed files with 42 additions and 12 deletions
|
|
@ -105,11 +105,11 @@ import * as mfm from 'mfm-js';
|
|||
import * as Misskey from 'misskey-js';
|
||||
import insertTextAtCursor from 'insert-text-at-cursor';
|
||||
import { toASCII } from 'punycode/';
|
||||
import { host, url } from '@@/js/config.js';
|
||||
import MkNoteSimple from '@/components/MkNoteSimple.vue';
|
||||
import MkNotePreview from '@/components/MkNotePreview.vue';
|
||||
import XPostFormAttaches from '@/components/MkPostFormAttaches.vue';
|
||||
import MkPollEditor, { type PollEditorModelValue } from '@/components/MkPollEditor.vue';
|
||||
import { host, url } from '@@/js/config.js';
|
||||
import { erase, unique } from '@/scripts/array.js';
|
||||
import { extractMentions } from '@/scripts/extract-mentions.js';
|
||||
import { formatTimeString } from '@/scripts/format-time-string.js';
|
||||
|
|
@ -1201,6 +1201,15 @@ defineExpose({
|
|||
min-height: 75px;
|
||||
max-height: 150px;
|
||||
overflow: auto;
|
||||
background-size: auto auto;
|
||||
}
|
||||
|
||||
html[data-color-scheme=dark] .preview {
|
||||
background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, #0005 5px, #0005 10px);
|
||||
}
|
||||
|
||||
html[data-color-scheme=light] .preview {
|
||||
background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, #0001 5px, #0001 10px);
|
||||
}
|
||||
|
||||
.targetNote {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue