diff --git a/assets/tailwindcss/objects/_objects.notes.css b/assets/tailwindcss/objects/_objects.notes.css index 2fdc87c8d..49254b581 100644 --- a/assets/tailwindcss/objects/_objects.notes.css +++ b/assets/tailwindcss/objects/_objects.notes.css @@ -17,6 +17,12 @@ height: auto; } +.notes-card figure { + max-width: 100%; + margin-left: 0; + margin-right: 0; +} + .note-avatar { grid-area: avatar; display: flex; @@ -32,6 +38,7 @@ .note-note { grid-area: note; + min-width: 0; @apply u:break-words u:mb-8; } @@ -45,7 +52,7 @@ @apply u:flex u:flex-row u:gap-8 u:justify-end; } -@media screen(sm) { +@variant md { .notes-card { display: grid; grid-template-areas: diff --git a/templates/note/notes.html.twig b/templates/note/notes.html.twig index b3f145a2c..0f7eaf049 100644 --- a/templates/note/notes.html.twig +++ b/templates/note/notes.html.twig @@ -45,14 +45,17 @@ {% block modals %} {% for note in notes %} -
-