fix(storage): spacing between the enrichment tag row and action rows

The .drive-agent-extra slot stacked the agent tag row and the agent
action row with no vertical gap (and sat flush against the registry
action row). The slot is now a flex column with a .6rem gap + top
margin, hidden when empty; enrichCard's inline margin removed.
This commit is contained in:
2026-07-02 20:25:49 +02:00
parent 1b954e9217
commit 611c5ffbdf
3 changed files with 27 additions and 1 deletions
@@ -328,7 +328,7 @@ window.__registeredPaths=[{{range .StoragePaths}}{{if .Path}}"{{.Path}}",{{end}}
function enrichCard(d, registered){
var slot=document.getElementById('agent-extra-'+regKey(d));
if(!slot) return false;
var extra='<div class="metarows" style="margin:.4rem 0 0">'
var extra='<div class="metarows">'
+'<span class="metarow">'+roleTag(d.role)+'</span>'
+(d.class?'<span class="metarow">'+classTag(d)+'</span>':'')
+(d.durable_id?'<span class="metarow mono" title="Tartós azonosító">'+esc(d.durable_id)+'</span>':'')