fix: zotero styles

pull/7040/head
Tienson Qin 2022-10-19 15:15:55 +08:00
parent 150f50ef5b
commit 941b4d30b9
1 changed files with 7 additions and 8 deletions

View File

@ -328,8 +328,8 @@
[:div.mt-5.sm:mt-4.sm:flex.sm:flex-row-reverse [:div.mt-5.sm:mt-4.sm:flex.sm:flex-row-reverse
[:span.flex.w-full.rounded-md.shadow-sm.sm:ml-3.sm:w-auto [:span.flex.w-full.rounded-md.shadow-sm.sm:ml-3.sm:w-auto
[:button.inline-flex.justify-center.w-full.rounded-md.border.border-transparent.px-4.py-2.bg-indigo-720.text-base.leading-6.font-medium.text-white.shadow-sm.hover:bg-indigo-500.focus:outline-none.focus:border-indigo-700.focus:shadow-outline-indigo.transition.ease-in-out.duration-150.sm:text-sm.sm:leading-5 (ui/button
{:type "button" "Submit"
:class "ui__modal-enter" :class "ui__modal-enter"
:on-click (fn [] :on-click (fn []
(let [profile-name (str/trim @input)] (let [profile-name (str/trim @input)]
@ -337,8 +337,7 @@
(p/let [_ (setting/add-profile profile-name) (p/let [_ (setting/add-profile profile-name)
_ (setting/set-profile profile-name)] _ (setting/set-profile profile-name)]
(reset! profile* profile-name))) (reset! profile* profile-name)))
(state/close-modal!)))} (state/close-modal!))))]
"Submit"]]
[:span.mt-3.flex.w-full.rounded-md.shadow-sm.sm:mt-0.sm:w-auto [:span.mt-3.flex.w-full.rounded-md.shadow-sm.sm:mt-0.sm:w-auto
[:button.inline-flex.justify-center.w-full.rounded-md.border.border-gray-300.px-4.py-2.bg-white.text-base.leading-6.font-medium.text-gray-700.shadow-sm.hover:text-gray-500.focus:outline-none.focus:border-blue-300.focus:shadow-outline-blue.transition.ease-in-out.duration-150.sm:text-sm.sm:leading-5 [:button.inline-flex.justify-center.w-full.rounded-md.border.border-gray-300.px-4.py-2.bg-white.text-base.leading-6.font-medium.text-gray-700.shadow-sm.hover:text-gray-500.focus:outline-none.focus:border-blue-300.focus:shadow-outline-blue.transition.ease-in-out.duration-150.sm:text-sm.sm:leading-5
{:type "button" {:type "button"
@ -348,10 +347,10 @@
(rum/defc zotero-profile-selector < (rum/defc zotero-profile-selector <
rum/reactive rum/reactive
[profile*] [profile*]
[:div.row [:div.flex.flex-row.mb-4.items-center
[:label.mr-32 {:for "profile-select"} "Choose a profile:"] [:label.title.mr-32 {:for "profile-select"} "Choose a profile:"]
[:span.justify-evenly [:div.flex.flex-row.ml-4
[:select [:select.ml-1
{:value @profile* {:value @profile*
:on-change :on-change
(fn [e] (fn [e]