SunRiseGC 3 years ago
parent
commit
68d95a8615

+ 1 - 1
mix.exs

@@ -4,7 +4,7 @@ defmodule NITRO.Mixfile do
   def project do
     [
       app: :nitro,
-      version: "6.10.4",
+      version: "6.10.5",
       description: "NITRO Nitrogen Web Framework",
       package: package(),
       deps: deps()

+ 2 - 1
src/elements/combo/element_comboLookupEdit.erl

@@ -22,7 +22,8 @@ render_element(#comboLookupEdit{id=Id, input=Input, disabled=Disabled, validatio
               case Multiple of
                 true ->
                   #link{
-                    class = ['add-btn'],
+                    class = [button, sgreen],
+                    style = "min-width: 40px; text-align: center; height: fit-content; margin-left: 5px;",
                     onclick = nitro:jse("addSortableItemFrom('#" ++ ListId ++ "', '" ++ InputId ++ "')"),
                     body = <<"+">>};
                 false -> []

+ 2 - 1
src/elements/combo/element_comboLookupVec.erl

@@ -22,7 +22,8 @@ render_element(#comboLookupVec{id=Id, input=Input, disabled=Disabled, validation
               _ ->
                 [ Input,
                   #link{
-                    class = ['add-btn'],
+                    class = [button, sgreen],
+                    style = "min-width: 40px; text-align: center; height: fit-content; margin-left: 5px;",
                     onclick = nitro:jse("addSortableItemFrom('#" ++ ListId ++ "', '" ++ InputId ++ "')"),
                     body = <<"+">>} ] end },
         % TODO: Add validation for each list_item and/or "+" button