Skip to content

Commit

Permalink
feat: add clear page cover button
Browse files Browse the repository at this point in the history
  • Loading branch information
fcnaud committed Nov 3, 2023
1 parent 9043e74 commit 100b560
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/notionpage-covericon/body.tid
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ list-before: $:/core/ui/ViewTemplate/title
<$edit-text tiddler=<<state>> field="page-cover#repeat" default=<<cover-repeat>> placeholder=""/>
<$button setTitle=<<tiddler>> setField="page-cover#repeat" setTo={{{ [<state>get[page-cover#repeat]!is[blank]else<cover-repeat>] }}} style="color:inherit !important;cursor:pointer;font-weight:800;">Set</$button>
</div>
<div style="flex-direction: column; filter: contrast(100%);">
<$button setTitle=<<tiddler>> setField="page-cover" setTo="" style="line:inherit float: center; opacity: 0.5; width: 100" tooltip="Clear Icon">{{$:/core/images/delete-button}} Clear Page Cover</$button>
</div>
</div>
</$let>
</$reveal>
Expand Down

0 comments on commit 100b560

Please sign in to comment.