From 8bd80ae45cf19afaf08254a5c2f62f5cd16358dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sun, 1 Sep 2013 13:59:04 +0200 Subject: [PATCH] Force wrapping of long gcode filenames without pythons in the popover, disallow wrapping in the table Fixes #239 (cherry picked from commit c36da31) --- octoprint/static/css/octoprint.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/octoprint/static/css/octoprint.less b/octoprint/static/css/octoprint.less index 05ad83e..835e7d7 100644 --- a/octoprint/static/css/octoprint.less +++ b/octoprint/static/css/octoprint.less @@ -200,12 +200,18 @@ body { table { table-layout: fixed; + .popover-title { + text-overflow: ellipsis; + word-break: break-all; + } + th, td { overflow: hidden; // gcode files &.gcode_files_name { text-overflow: ellipsis; + white-space: nowrap; text-align: left; }