From 54c07ab881a73ba0c63aef2160cadc0200b24eae Mon Sep 17 00:00:00 2001 From: davidwells Date: Tue, 12 Jun 2018 12:25:12 -0700 Subject: [PATCH] add click to edit --- src/App.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/App.css b/src/App.css index 6b566c3..85b8e55 100644 --- a/src/App.css +++ b/src/App.css @@ -64,6 +64,17 @@ font-weight: 500; color: #5a5a5a; flex-grow: 1; + position: relative; +} +.todo-list-title:hover span[contenteditable="false"]:before { + content: 'Click to edit'; + position: absolute; + top: -5px; + left: 11px; + font-size: 10px; + font-weight: 300; + color: #c1c1c1; + letter-spacing: 1px; } @keyframes App-logo-spin {