diff --git a/src/facets/you.js b/src/facets/you.js index 6a9eb67c..f0c5e27e 100644 --- a/src/facets/you.js +++ b/src/facets/you.js @@ -34,75 +34,61 @@ effect(() => { keyed( c.id, html` -
  • -
    +
  • +
    +
    + + ${c.name} + +
    +
    +
    + ${c.description?.trim().length + ? unsafeHTML( + marked.parse(c.description, { async: false }), + ) + : nothing} +
    +
    + ${c.uri && !c.html + ? html` + + + Tracking the original URI + + ` + : html` + + + Custom code + + `} +
    +
    +
    + +
    - ${c.name} + +
    -
    -
    - ${c.description?.trim().length - ? unsafeHTML( - marked.parse(c.description, { async: false }), - ) - : nothing} -
    -
    - ${c.uri && !c.html - ? html` - - - Tracking the original URI - - ` - : html` - - - Custom code - - `} -
    -
    - - -
  • `, ) diff --git a/src/styles/diffuse/page.css b/src/styles/diffuse/page.css index bf4158a0..a30b0e53 100644 --- a/src/styles/diffuse/page.css +++ b/src/styles/diffuse/page.css @@ -224,10 +224,40 @@ textarea { content: none; } - li { + .grid-item { border: 1px solid var(--border-color); + display: flex; + } + + .grid-item__contents { + flex: 1; padding: var(--space-md); } + + .grid-item__menu { + border-left: 1px solid var(--border-color); + display: flex; + flex-direction: column; + justify-content: space-evenly; + + hr { + background: var(--border-color); + border: 0; + height: 1px; + margin: 0; + padding: 0; + } + } + + .grid-item__menu button, + .grid-item__menu .button { + --button-bg-opacity: 0.3; + align-items: center; + border-radius: 0; + display: flex; + flex: 1; + justify-content: center; + } } /**