CSS changes

This commit is contained in:
roberto 2024-10-25 18:08:01 +02:00
parent 6da79bc9c8
commit 57dde70da5
3 changed files with 9 additions and 3 deletions

View File

@ -79,6 +79,12 @@ body {
min-height: 100vh; min-height: 100vh;
} }
.row:after {
content:"";
display:table;
clear:both
}
input, select, textarea{ input, select, textarea{
display: block; display: block;
border: 1px solid #ccc !important; border: 1px solid #ccc !important;

View File

@ -74,14 +74,14 @@
</div> </div>
{{ if $fields_present }} {{ if $fields_present }}
<div class="tab" id="fields" class="tab" style="display: none"> <div class="tab" id="fields" style="display: none">
<div id="fields-fields"> <div id="fields-fields">
{{ template "items:fields" (map "FieldsSection" .item.FieldsSection "FieldsValues" .item.FieldsValues "uisection" "fields")}} {{ template "items:fields" (map "FieldsSection" .item.FieldsSection "FieldsValues" .item.FieldsValues "uisection" "fields")}}
</div> </div>
</div> </div>
{{ end }} {{ end }}
<div class="tab" id="relationsSection" class="tab" style="display: none"> <div class="tab" id="relationsSection" style="display: none">
<fieldset class="w3-round-medium" style="margin-top: 10px;"> <fieldset class="w3-round-medium" style="margin-top: 10px;">
<legend>Related items</legend> <legend>Related items</legend>
<div id="relations" style="margin-top: 8px;"> <div id="relations" style="margin-top: 8px;">

View File

@ -16,7 +16,7 @@
<div class="w3-bar-block w3-container" id="searchSidebar"> <div class="w3-bar-block w3-container" id="searchSidebar">
<form method="POST" hx-post="/items/search" hx-target="#page-content" hx-push-url="true" hx-on:submit="bm_sidebar_click('main-sidebar')"> <form method="POST" hx-post="/items/search" hx-target="#page-content" hx-push-url="true" hx-on:submit="bm_sidebar_click('main-sidebar')">
<input type="hidden" name="csrf_token" value="{{.CSRFToken}}" /> <input type="hidden" name="csrf_token" value="{{.CSRFToken}}" />
<div class="w3-row"> <div class="row">
<div class="threequarter"> <div class="threequarter">
<input type="text" id="searchText" name="SearchText" placeholder="Search.." /> <input type="text" id="searchText" name="SearchText" placeholder="Search.." />
</div> </div>