You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
As shown in the image, the iconize-inline-title-wrapper element is incorrectly added to note pages that do not have an icon.
This 📏 icon is actually from the other note, and it incorrectly appeared in my Daily Note.
The reason it is invisible but I care is that I want to use CSS to make the Iconize plugin work with the Pixel Banner plugin by adjusting the margin-top property to position the icon at the boundary of the banner. (Just like Notion's style)
However, this invisible iconize element makes the judgment more complicated.. 🤔
To Reproduce
Click on some notes with icon
Switch to another note without icon
Open the DevTool and look into cm-sizer structure
See the icon elem from previous note
Expected behavior
Remove the elem or add a .no-icon class into the elem's class?
Additional context
I noticed that this element has a display: none attribute:
So currently I use this css to achieve what I want:
FlorianWoelki
changed the title
[bug] The iconize element is incorrectly added to a note without icon
The iconize element is incorrectly added to a note without icon
Dec 12, 2024
I'm not certain if this is the same issue, but I coincidentally discovered that when I have multiple split tabs and add an icon in the properties, all the tabs will receive the icon (temporarily).
Refreshing the other note can restore the original state.
Describe the bug
As shown in the image, the
iconize-inline-title-wrapper
element is incorrectly added to note pages that do not have an icon.This 📏 icon is actually from the other note, and it incorrectly appeared in my Daily Note.
The reason it is invisible but I care is that I want to use CSS to make the Iconize plugin work with the Pixel Banner plugin by adjusting the
margin-top
property to position the icon at the boundary of the banner. (Just like Notion's style)However, this invisible iconize element makes the judgment more complicated.. 🤔
To Reproduce
cm-sizer
structureExpected behavior
Remove the elem or add a
.no-icon
class into the elem's class?Additional context
I noticed that this element has a
display: none
attribute:So currently I use this css to achieve what I want:
The text was updated successfully, but these errors were encountered: