mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-07 01:51:36 -04:00
Updates twemoji.ttf with a new version that is built for twemoji 13 (#664)
* Updates twemoji.ttf with a new version that is built for twemoji 13 * Rename font
This commit is contained in:
parent
417a5dc798
commit
02ae83ba5e
7 changed files with 6 additions and 6 deletions
|
@ -7,7 +7,7 @@
|
|||
@import 'hints';
|
||||
|
||||
.CodeMirror {
|
||||
font-family: "Source Code Pro", "twemoji", Consolas, monaco, monospace;
|
||||
font-family: "Source Code Pro", "Twemoji Mozilla", Consolas, monaco, monospace;
|
||||
letter-spacing: 0.025em;
|
||||
line-height: 1.25;
|
||||
font-size: 18px;
|
||||
|
|
|
@ -36,7 +36,7 @@ export const EmojiPicker: React.FC<EmojiPickerProps> = ({ show, onEmojiSelected,
|
|||
|
||||
const twemojiStyle = useMemo(() => {
|
||||
const style = document.createElement('style')
|
||||
style.textContent = 'section.picker { --font-family: "twemoji" !important; }'
|
||||
style.textContent = 'section.picker { --font-family: "Twemoji Mozilla" !important; }'
|
||||
return style
|
||||
}, [])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue