fix textareas resizing when typing in
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -37,9 +37,11 @@ | ||||
|  | ||||
|     <%= label(f, :notes, gettext("Notes"), class: "title text-lg text-primary-600") %> | ||||
|     <%= textarea(f, :notes, | ||||
|       id: "add-shot-group-form-notes", | ||||
|       class: "input input-primary col-span-2", | ||||
|       placeholder: "Really great weather", | ||||
|       phx_hook: "MaintainAttrs" | ||||
|       placeholder: gettext("Really great weather"), | ||||
|       phx_hook: "MaintainAttrs", | ||||
|       phx_update: "ignore" | ||||
|     ) %> | ||||
|     <%= error_tag(f, :notes, "col-span-3") %> | ||||
|  | ||||
|   | ||||
| @@ -49,8 +49,10 @@ | ||||
|  | ||||
|     <%= label(f, :notes, gettext("Notes"), class: "title text-lg text-primary-600") %> | ||||
|     <%= textarea(f, :notes, | ||||
|       id: "ammo-group-form-notes", | ||||
|       class: "text-center col-span-2 input input-primary", | ||||
|       phx_hook: "MaintainAttrs" | ||||
|       phx_hook: "MaintainAttrs", | ||||
|       phx_update: "ignore" | ||||
|     ) %> | ||||
|     <%= error_tag(f, :notes, "col-span-3 text-center") %> | ||||
|  | ||||
|   | ||||
| @@ -24,8 +24,10 @@ | ||||
|  | ||||
|     <%= label(f, :desc, gettext("Description"), class: "title text-lg text-primary-600") %> | ||||
|     <%= textarea(f, :desc, | ||||
|       id: "ammo-type-form-desc", | ||||
|       class: "text-center col-span-2 input input-primary", | ||||
|       phx_hook: "MaintainAttrs" | ||||
|       phx_hook: "MaintainAttrs", | ||||
|       phx_update: "ignore" | ||||
|     ) %> | ||||
|     <%= error_tag(f, :desc, "col-span-3 text-center") %> | ||||
|  | ||||
| @@ -52,14 +54,14 @@ | ||||
|     <%= label(f, :cartridge, gettext("Cartridge"), class: "title text-lg text-primary-600") %> | ||||
|     <%= text_input(f, :cartridge, | ||||
|       class: "text-center col-span-2 input input-primary", | ||||
|       placeholder: "5.56x46mm NATO" | ||||
|       placeholder: gettext("5.56x46mm NATO") | ||||
|     ) %> | ||||
|     <%= error_tag(f, :cartridge, "col-span-3 text-center") %> | ||||
|  | ||||
|     <%= label(f, :caliber, gettext("Caliber"), class: "title text-lg text-primary-600") %> | ||||
|     <%= text_input(f, :caliber, | ||||
|       class: "text-center col-span-2 input input-primary", | ||||
|       placeholder: ".223" | ||||
|       placeholder: gettext(".223") | ||||
|     ) %> | ||||
|     <%= error_tag(f, :caliber, "col-span-3 text-center") %> | ||||
|  | ||||
| @@ -112,21 +114,21 @@ | ||||
|     <%= label(f, :pressure, gettext("Pressure"), class: "title text-lg text-primary-600") %> | ||||
|     <%= text_input(f, :pressure, | ||||
|       class: "text-center col-span-2 input input-primary", | ||||
|       placeholder: "+P" | ||||
|       placeholder: gettext("+P") | ||||
|     ) %> | ||||
|     <%= error_tag(f, :pressure, "col-span-3 text-center") %> | ||||
|  | ||||
|     <%= label(f, :primer_type, gettext("Primer type"), class: "title text-lg text-primary-600") %> | ||||
|     <%= text_input(f, :primer_type, | ||||
|       class: "text-center col-span-2 input input-primary", | ||||
|       placeholder: "Boxer" | ||||
|       placeholder: gettext("Boxer") | ||||
|     ) %> | ||||
|     <%= error_tag(f, :primer_type, "col-span-3 text-center") %> | ||||
|  | ||||
|     <%= label(f, :firing_type, gettext("Firing type"), class: "title text-lg text-primary-600") %> | ||||
|     <%= text_input(f, :firing_type, | ||||
|       class: "text-center col-span-2 input input-primary", | ||||
|       placeholder: "Centerfire" | ||||
|       placeholder: gettext("Centerfire") | ||||
|     ) %> | ||||
|     <%= error_tag(f, :firing_type, "col-span-3 text-center") %> | ||||
|  | ||||
|   | ||||
| @@ -27,9 +27,11 @@ | ||||
|  | ||||
|     <%= label(f, :desc, gettext("Description"), class: "title text-lg text-primary-600") %> | ||||
|     <%= textarea(f, :desc, | ||||
|       id: "container-form-desc", | ||||
|       class: "input input-primary col-span-2", | ||||
|       placeholder: gettext("Metal ammo can with the anime girl sticker"), | ||||
|       phx_hook: "MaintainAttrs", | ||||
|       placeholder: gettext("Metal ammo can with the anime girl sticker") | ||||
|       phx_update: "ignore" | ||||
|     ) %> | ||||
|     <%= error_tag(f, :desc, "col-span-3 text-center") %> | ||||
|  | ||||
| @@ -42,9 +44,11 @@ | ||||
|  | ||||
|     <%= label(f, :location, gettext("Location"), class: "title text-lg text-primary-600") %> | ||||
|     <%= textarea(f, :location, | ||||
|       id: "container-form-location", | ||||
|       class: "input input-primary col-span-2", | ||||
|       placeholder: gettext("On the bookshelf"), | ||||
|       phx_hook: "MaintainAttrs", | ||||
|       placeholder: gettext("On the bookshelf") | ||||
|       phx_update: "ignore" | ||||
|     ) %> | ||||
|     <%= error_tag(f, :location, "col-span-3 text-center") %> | ||||
|  | ||||
|   | ||||
| @@ -29,8 +29,11 @@ | ||||
|  | ||||
|     <%= label(f, :notes, gettext("Notes"), class: "title text-lg text-primary-600") %> | ||||
|     <%= textarea(f, :notes, | ||||
|       id: "shot-group-form-notes", | ||||
|       class: "input input-primary col-span-2", | ||||
|       phx_hook: "MaintainAttrs" | ||||
|       placeholder: gettext("Really great weather"), | ||||
|       phx_hook: "MaintainAttrs", | ||||
|       phx_update: "ignore" | ||||
|     ) %> | ||||
|     <%= error_tag(f, :notes, "col-span-3") %> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user