From d1d83c630a3d0a7a0f34cae56237b817f14d52d6 Mon Sep 17 00:00:00 2001 From: "@s.roertgen" Date: Wed, 21 Aug 2024 12:54:00 +0200 Subject: [PATCH] Update Placeholders --- resources/public/css/output.css | 6 ++++++ src/ied/views.cljs | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/resources/public/css/output.css b/resources/public/css/output.css index d05c89a..9134b02 100644 --- a/resources/public/css/output.css +++ b/resources/public/css/output.css @@ -3007,3 +3007,9 @@ details.collapse summary::-webkit-details-marker { .hover\:underline:hover { text-decoration-line: underline; } + +@media (min-width: 640px) { + .sm\:w-1\/2 { + width: 50%; + } +} diff --git a/src/ied/views.cljs b/src/ied/views.cljs index c2ba40c..05fa11c 100644 --- a/src/ied/views.cljs +++ b/src/ied/views.cljs @@ -47,18 +47,18 @@ "Name" [:input {:on-change (fn [e] (swap! s assoc :name (-> e .-target .-value))) - :type "text", :class "grow", :placeholder "Daisy"}]] + :type "text", :class "grow", :placeholder "Best Resource Ever"}]] [:label {:class "input input-bordered flex items-center gap-2"} "URL" [:input {:on-change (fn [e] (swap! s assoc :uri (-> e .-target .-value))) - :type "text", :class "grow", :placeholder "daisy@site.com"}]] + :type "text", :class "grow", :placeholder "https://wirlernenonline.de/r31"}]] [:label {:class "input input-bordered flex items-center gap-2"} [:input {:on-change (fn [e] (swap! s assoc :author (-> e .-target .-value))) - :type "text", :class "grow", :placeholder "Author"}]] + :type "text", :class "grow", :placeholder "Robbi"}]] [:button {:class "btn btn-warning w-1/2 mx-auto" :on-click #(re-frame/dispatch [::events/publish-resource {:name (:name @s) ;; TODO this should be sth like build event @@ -444,7 +444,7 @@ ;; Add Resource Panel (defn add-resource-panel [] [:div - {:class "w-1/2 mx-auto flex flex-col space-y-4"} + {:class "sm:w-1/2 p-2 mx-auto flex flex-col space-y-4"} [add-resource-form] [:div {:tabIndex "0",