Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
.youtube-video-balloon {
padding: 8px;
/* Keeps the card wider than the 500px at which Card.css stacks its rows. */
width: 34rem;
max-width: calc(100vw - 2rem);
font-size: var(--main-font-size);
line-height: var(--bs-body-line-height);
white-space: normal;
text-align: start;
.youtube-video-actions {
display: flex;
justify-content: flex-end;
margin-top: 1rem;
}
}
:is(.modal.youtube-video-dialog, .youtube-video-balloon) {
@container (min-width: 501px) {
.youtube-video-url {
display: grid;
grid-template-columns: minmax(8em, max-content) minmax(0, 1fr);
row-gap: 4px;
> .form-field-error {
grid-column: 2;
}
}
}
}