From 57dd45839b3ed61fc38b15621b688b088f57b04f Mon Sep 17 00:00:00 2001
From: Frederic Guillot <fred@kanboard.net>
Date: Mon, 15 Jun 2015 20:30:30 -0400
Subject: Use css to truncate the page title

---
 assets/css/app.css        | 5 ++++-
 assets/css/src/header.css | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

(limited to 'assets/css')

diff --git a/assets/css/app.css b/assets/css/app.css
index 73df92fc..f86f5051 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -653,13 +653,16 @@ div.ui-tooltip {
 header {
     margin-top: 10px;
     padding-bottom: 15px;
-    clear: both;
     border-bottom: 1px solid #dedede;
 }
 
 header h1 {
     margin: 0;
     padding: 0;
+    overflow: hidden;
+    text-overflow: ellipsis;
+    white-space: nowrap;
+    width: 75%;
     float: left;
 }
 
diff --git a/assets/css/src/header.css b/assets/css/src/header.css
index 2490b125..bcb9dcd7 100644
--- a/assets/css/src/header.css
+++ b/assets/css/src/header.css
@@ -2,13 +2,16 @@
 header {
     margin-top: 10px;
     padding-bottom: 15px;
-    clear: both;
     border-bottom: 1px solid #dedede;
 }
 
 header h1 {
     margin: 0;
     padding: 0;
+    overflow: hidden;
+    text-overflow: ellipsis;
+    white-space: nowrap;
+    width: 75%;
     float: left;
 }
 
-- 
cgit v1.2.3