Skip to content

Commit fbd72bf

Browse files
committed
fix(notes): adjust position of callout title widget
1 parent 8f135b4 commit fbd72bf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/renderer/components/notes/cm-extensions/markdownDecorations.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ class CalloutTitleWidget extends WidgetType {
145145
root.style.verticalAlign = 'baseline'
146146
root.style.height = '0'
147147
root.style.overflow = 'visible'
148+
root.style.position = 'relative'
149+
root.style.top = '2px'
148150

149151
root.append(createCalloutIcon(this.type, this.accent))
150152
root.append(this.title)

0 commit comments

Comments
 (0)