Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-10-16 23:19:53 +02:00
parent c47f98032b
commit 8b009cdfd7
4 changed files with 53 additions and 21 deletions

View File

@@ -66,20 +66,7 @@
</script>
<style>
.grid3 {
display: grid;
grid-template-columns: [left] 1fr [first] 1fr [second] 1fr [right]
}
.locations {
grid-row-end: span 3;
}
.notes, .tags{
grid-column-end: span 2;
}
.json {
grid-column-end: span 3;
}
</style>
<h2>{t('Stock')}</h2>
@@ -115,10 +102,6 @@
<span>{t('notes')}</span>
<Notes module="stock" entity_id={item.id} />
</div>
<pre class="json">
{JSON.stringify(data.users,null,2)}
</pre>
{/if}
{/await}
</div>

View File

@@ -377,6 +377,18 @@ a.wikilink{
padding-right: 5px;
}
.grid3 {
display: grid;
grid-template-columns: [left] 1fr [first] 1fr [second] 1fr [right]
}
.grid3 .locations {
grid-row-end: span 3;
}
.grid3 .notes, .tags{
grid-column-end: span 2;
}
@media screen and (max-width: 600px) {
.grid2{
display: grid;
@@ -423,4 +435,13 @@ fieldset.vcard{
.vcard td button.symbol{
float: right;
}
.cloud .tag{
border: 1px solid;
border-radius: 4px;
padding: 2px;
margin: 0 6px;
white-space: nowrap;
display: inline flow-root;
}

View File

@@ -377,10 +377,17 @@ a.wikilink{
padding-right: 5px;
}
.grid3{
display: flex;
flex-flow: wrap;
}
.grid3 {
display: grid;
grid-template-columns: [left] 1fr [first] 1fr [second] 1fr [right]
}
.grid3 .locations {
grid-row-end: span 3;
}
.grid3 .notes, .tags{
grid-column-end: span 2;
}
@media screen and (max-width: 600px) {
.grid2{

View File

@@ -377,6 +377,18 @@ a.wikilink{
padding-right: 5px;
}
.grid3 {
display: grid;
grid-template-columns: [left] 1fr [first] 1fr [second] 1fr [right]
}
.grid3 .locations {
grid-row-end: span 3;
}
.grid3 .notes, .tags{
grid-column-end: span 2;
}
@media screen and (max-width: 600px) {
.grid2{
display: grid;
@@ -423,4 +435,13 @@ fieldset.vcard{
.vcard td button.symbol{
float: right;
}
.cloud .tag{
border: 1px solid;
border-radius: 4px;
padding: 2px;
margin: 0 6px;
white-space: nowrap;
display: inline flow-root;
}