Skip to content

Commit

Permalink
fix click not working on cards preview mode
Browse files Browse the repository at this point in the history
  • Loading branch information
llcc authored and andelf committed Jul 13, 2022
1 parent ee3ac7d commit 5c29517
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/frontend/extensions/srs.cljs
Expand Up @@ -441,9 +441,7 @@
[:div.ls-card.content
{:class (when (or preview? modal?)
(str (util/hiccup->class ".flex.flex-col.resize.overflow-y-auto")
(when modal? " modal-cards")))
:on-mouse-down (fn [e]
(util/stop e))}
(when modal? " modal-cards")))}
(let [repo (state/get-current-repo)]
[:div {:style {:margin-top 20}}
(component-block/breadcrumb {} repo root-block-id {})])
Expand Down

1 comment on commit 5c29517

@monk-blade
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not working in new nightly. can not preview cards.

Please sign in to comment.