[FIX] web_editor: ensure document filename doesn't overflow its cell

The media modal's document tab has cells with icons and filenames. If
the filename was too long, it would overflow its cell, which caused an
ugly design glitch. This ensures an ellipsis on the filename when it is
too long.

closes odoo/odoo#69990

X-original-commit: 8a4f4bf04bd5e5f9cf827273ea27a189a43c2515
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Antoine Guenet
2021-04-28 11:19:09 +00:00
parent 7aa08bfb6b
commit dc6737290c
@@ -243,6 +243,10 @@ body .modal {
}
}
.o_file_name {
@include o-text-overflow;
}
&:hover {
.o_existing_attachment_optimize, .o_existing_attachment_remove {
opacity: 1;