Space cells so that tags do not go on a new row.

This commit is contained in:
Justin Hawkins 2022-06-10 11:14:21 +09:30
parent fe9d8e71f4
commit 9e7914c9a1
2 changed files with 5 additions and 5 deletions

View File

@ -6,13 +6,13 @@
<form onsubmit="return false"> <form onsubmit="return false">
<div class="grid-x grid-padding-x"> <div class="grid-x grid-padding-x">
<div class="large-6 cell"> <div class="medium-6 cell">
<label>URL</label> <label>URL</label>
<input type="text" name="url" value="{{ .url }}" <input type="text" name="url" value="{{ .url }}"
hx-trigger="" hx-trigger=""
/> />
</div> </div>
<div class="large-6 cell"> <div class="medium-6 cell">
{{ template "tags_widget.html" . }} {{ template "tags_widget.html" . }}
</div> </div>
</div> </div>

View File

@ -1,6 +1,6 @@
<div id="label-widget" > <div id="label-widget" >
<div class="grid-x grid-padding-x"> <div class="grid-x grid-padding-x">
<div class="small-9 medium-10 large-5 cell" <div class="small-6 cell"
hx-post="/tags" hx-post="/tags"
hx-target="#label-widget" hx-target="#label-widget"
hx-trigger="change queue:first"> hx-trigger="change queue:first">
@ -9,7 +9,7 @@
<input id="tag-entry" type="text" name="tag" placeholder="enter tags" /> <input id="tag-entry" type="text" name="tag" placeholder="enter tags" />
</div> </div>
<div class="small-12 large-6 cell" id="tags-list"> <div class="small-6 cell" id="tags-list">
{{ range .tags }} {{ range .tags }}
<a href="#" <a href="#"
class="" class=""