Skip to content

Build your personal knowledge base with Trilium Notes

682 B
Raw Blame
.tn-card.promoted-attributes-card {
    /* The name takes the free space, pushing the buttons and the toggle to the trailing edge. */
    .promoted-attribute-name {
        flex-grow: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Shaped like `.shortcut-conflicts-badge`, in the warning color `MfaStatusBadge` uses. */
    .promoted-attribute-conflict {
        flex-shrink: 0;
        --color: var(--admonition-warning-accent-color, #e0a800);
        font-size: 0.8em;
    }

    .promoted-attribute-edit,
    .promoted-attribute-delete {
        flex-shrink: 0;
    }

    .switch-widget {
        flex-shrink: 0;
    }
}