mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
fix white space in mention
This commit is contained in:
parent
78bf43acd9
commit
81e510879e
4 changed files with 2 additions and 1 deletions
BIN
dist/img/space.png
vendored
BIN
dist/img/space.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 123 B |
1
dist/img/space.svg
vendored
Normal file
1
dist/img/space.svg
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
<svg width="1" height="1" viewBox="0 0 1 1" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
|
After Width: | Height: | Size: 97 B |
Binary file not shown.
Before Width: | Height: | Size: 123 B |
|
@ -255,7 +255,7 @@ class BlockText extends React.Component<Props, {}> {
|
|||
|
||||
if (smile && smile.length && (details.iconEmoji || details.iconImage)) {
|
||||
ReactDOM.render(<Smile className={param.class} size={param.size} native={false} icon={details.iconEmoji} hash={details.iconImage} />, smile.get(0));
|
||||
smile.after('<img src="./img/space.png" class="space" />');
|
||||
smile.after('<img src="./img/space.svg" class="space" />');
|
||||
param.class += ' withImage';
|
||||
} else {
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue