From a88ee84d2b58653311f318def8de75ee01a47f36 Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Sun, 26 Jun 2016 21:59:09 -0300 Subject: [PATCH] More standard messages and better delete note icon layout --- css/style.css | 15 +++------------ templates/part.note.php | 12 ++++++------ 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/css/style.css b/css/style.css index 26a219c..41b9fcc 100644 --- a/css/style.css +++ b/css/style.css @@ -24,13 +24,6 @@ margin-bottom: 60px; } -.icon-delete-note { - float: right; - position: absolute; - right: 10px; - top: 6px; -} - .save-button #unshare-button { display: none; } @@ -58,16 +51,14 @@ overflow: hidden; } -#div-content .shared-title, #div-content .shared-title-owner { +#div-content .shared-title, +#div-content .shared-title-owner, +#div-content .icon-delete-note { float: right; margin: 2px; opacity: 0.5; } -#div-content .shared-title-owner { - margin-right: 25px; -} - .noselect { -webkit-touch-callout: none; /* iOS Safari */ -webkit-user-select: none; /* Chrome/Safari/Opera */ diff --git a/templates/part.note.php b/templates/part.note.php index 0d6b46a..78a1642 100644 --- a/templates/part.note.php +++ b/templates/part.note.php @@ -1,15 +1,15 @@
{{#if isshared}} -
{{{ title }}}
-
{{{ content }}}
+
{{{ title }}}
+
{{{ content }}}
{{else}} +
{{#if sharedwith}} -
+
{{/if}} -
{{{ title }}}
- -
{{{ content }}}
+
{{{ title }}}
+
{{{ content }}}
{{/if}}