1
0
Fork 0
forked from alemi/upub

fix(web): spacings for composer box

This commit is contained in:
əlemi 2024-04-23 03:05:22 +02:00
parent 852b45f8dd
commit 5165aa6592
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 5 additions and 5 deletions

View file

@ -51,7 +51,7 @@ pub fn App() -> impl IntoView {
<hr class="sep" />
<div class="container mt-2 pt-2" >
<div class="two-col" >
<div class="col-side sticky" class:hidden=move || menu.get() >
<div class="col-side sticky pb-s" class:hidden=move || menu.get() >
<LoginBox
token_tx=set_auth
token=auth

View file

@ -29,7 +29,7 @@ pub fn PostBox(username: Signal<Option<String>>, advanced: WriteSignal<bool>) ->
<table class="align w-100">
<tr>
<td><input type="checkbox" on:input=move |ev| advanced.set(event_target_checked(&ev)) title="advanced" /></td>
<td><input class="w-100" type="text" node_ref=summary_ref title="summary" /></td>
<td class="w-100"><input class="w-100" type="text" node_ref=summary_ref title="summary" /></td>
</tr>
</table>
@ -138,9 +138,9 @@ pub fn AdvancedPostBox(username: Signal<Option<String>>, advanced: WriteSignal<b
<div class:hidden=move|| !embedded.get()>
<input class="w-100" type="text" node_ref=summary_ref title="summary" placeholder="summary" />
<input class="w-100 ml-s mr-2" type="text" node_ref=name_ref title="name" placeholder="name" />
<input class="w-100 ml-s mr-2" type="text" node_ref=context_ref title="context" placeholder="context" />
<input class="w-100 ml-s mr-2" type="text" node_ref=reply_ref title="inReplyTo" placeholder="inReplyTo" />
<input class="w-100 ml-s" type="text" node_ref=name_ref title="name" placeholder="name" />
<input class="w-100 ml-s" type="text" node_ref=context_ref title="context" placeholder="context" />
<input class="w-100 ml-s" type="text" node_ref=reply_ref title="inReplyTo" placeholder="inReplyTo" />
<textarea rows="5" class="w-100" node_ref=content_ref title="content" placeholder="content" ></textarea>
</div>