Makes link dropdown not get cut off

This commit is contained in:
2025-01-31 19:22:24 -08:00
parent 2826fd5099
commit ac0dbef961
3 changed files with 32 additions and 30 deletions

View File

@@ -8,7 +8,7 @@
[:div [:div
(com/a-icon-button {:class "relative" (com/a-icon-button {:class "relative"
"@click.prevent" "$tooltip($refs.tooltip, {content: ()=>$refs.tooltip.innerHTML, theme: 'light', allowHTML: true, interactive:true})" "@click.prevent" "$tooltip($refs.tooltip, {content: ()=>$refs.tooltip.innerHTML, theme: 'light', allowHTML: true, interactive:true, popperOptions: {strategy: 'fixed', modifiers: [{name: 'flip', options: {fallbackPlacements: ['top']}}]}})"
} }
svg/paperclip svg/paperclip
(com/badge {:color "blue"} (count links))) (com/badge {:color "blue"} (count links)))

View File

@@ -625,6 +625,8 @@
:class "w-8" :class "w-8"
:render (fn [i] :render (fn [i]
(link-dropdown (link-dropdown
(into []
(repeat 5
(concat (->> i (concat (->> i
:invoice/payments :invoice/payments
(map :invoice-payment/payment) (map :invoice-payment/payment)
@@ -649,7 +651,7 @@
(when (:invoice/source-url i) (when (:invoice/source-url i)
[{:link (:invoice/source-url i) [{:link (:invoice/source-url i)
:color :secondary :color :secondary
:content "File"}]))))}]})) :content "File"}]))))))}]}))
(def row* (partial helper/row* grid-page)) (def row* (partial helper/row* grid-page))