diff --git a/res/static/style/layout.css b/res/static/style/layout.css index 880713f..2a49e79 100644 --- a/res/static/style/layout.css +++ b/res/static/style/layout.css @@ -312,6 +312,7 @@ pre{ display: inline-block; transition: box-shadow 0.3s, opacity 2s; white-space: normal; + text-overflow: ellipsis; } .file_button:hover, .file_button_selected { diff --git a/res/static/style/viewer.css b/res/static/style/viewer.css index 7555b40..e36dc63 100644 --- a/res/static/style/viewer.css +++ b/res/static/style/viewer.css @@ -45,6 +45,7 @@ body{ overflow: hidden; white-space: nowrap; line-height: 2em; + text-overflow: ellipsis; } .file_viewer > .highlight_headerbar > .button_close_file_viewer { flex-grow: 0;