diff options
Diffstat (limited to 'apps/Notes/styles')
-rw-r--r-- | apps/Notes/styles/_import.scss | 5 | ||||
-rw-r--r-- | apps/Notes/styles/_noteEdit.scss | 7 | ||||
-rw-r--r-- | apps/Notes/styles/_noteView.scss | 9 |
3 files changed, 4 insertions, 17 deletions
diff --git a/apps/Notes/styles/_import.scss b/apps/Notes/styles/_import.scss index efdd047..bab0655 100644 --- a/apps/Notes/styles/_import.scss +++ b/apps/Notes/styles/_import.scss @@ -4,11 +4,6 @@ to {opacity: 1;} } - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; animation: fade-in .3s; form { diff --git a/apps/Notes/styles/_noteEdit.scss b/apps/Notes/styles/_noteEdit.scss index 43191fe..29facbd 100644 --- a/apps/Notes/styles/_noteEdit.scss +++ b/apps/Notes/styles/_noteEdit.scss @@ -1,4 +1,6 @@ .noteEdit { + height: 100%; + @keyframes fade-in { from {opacity: 0;} to {opacity: 1;} @@ -6,11 +8,6 @@ display: flex; flex-direction: column; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; padding: 1em 1em 2em; animation: fade-in .3s; diff --git a/apps/Notes/styles/_noteView.scss b/apps/Notes/styles/_noteView.scss index 51e7edd..37db6aa 100644 --- a/apps/Notes/styles/_noteView.scss +++ b/apps/Notes/styles/_noteView.scss @@ -4,22 +4,17 @@ to {opacity: 1;} } - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; animation: fade-in .3s; h2 { - padding: .75em; + padding: 1rem; font-size: 1.25em; font-weight: 600; user-select: text; } p { - padding: .75em; + padding: .5rem 1rem 1rem; line-height: 1.33; white-space: pre-line; user-select: text; |