From 73eff3d64ea1c0a06fc8b1ca098d28eae68f54dc Mon Sep 17 00:00:00 2001 From: Marin Treselj Date: Wed, 31 May 2017 08:13:53 +0200 Subject: [PATCH] Allows editing stack title by clicking it. Deprecates edit icon in the stack header. Signed-off-by: Marin Treselj --- css/style.css | 16 +++++----------- templates/part.board.mainView.php | 12 +++++------- 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/css/style.css b/css/style.css index 3490645ce..b9e721291 100644 --- a/css/style.css +++ b/css/style.css @@ -248,27 +248,21 @@ button.button-inline:hover { width: 100%; } -.stack h2 button, -.stack .stack-actions { - float: right; - margin: 0px 0px 0px 10px; +.stack h2 button { + margin-left: auto; + display: flex; + opacity: 0.25; } .stack h2 span { - width: 100%; white-space: normal; overflow: hidden; text-overflow: ellipsis; -} - -.stack h2 .stack-actions { - display: flex; - opacity: 0.25; + cursor: text; } .stack h2:hover .stack-actions { display: flex; - float: right; } .card { diff --git a/templates/part.board.mainView.php b/templates/part.board.mainView.php index 0b9c36a27..535a39877 100644 --- a/templates/part.board.mainView.php +++ b/templates/part.board.mainView.php @@ -34,19 +34,17 @@
-

{{ s.title }} +

+ {{ s.title }}
-
- - -
+