From e9b2231581e484d071aa32ebb183813343c14cad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Z=C3=A1le=C5=A1=C3=A1k?= Date: Fri, 25 Dec 2020 00:33:11 +0100 Subject: [PATCH] add open file --- css/style.css | 9 ++++++++- index.php | 8 +++++--- js/controller.js | 13 +++++++++++-- js/model.js | 4 ++++ js/view.js | 18 +++++++++++++++--- 5 files changed, 43 insertions(+), 9 deletions(-) diff --git a/css/style.css b/css/style.css index 0f0e36d..8bf2315 100644 --- a/css/style.css +++ b/css/style.css @@ -20,7 +20,6 @@ ul { ul:nth-child(1) { padding: 1em 1em; - position: absolute; } li:hover { @@ -66,6 +65,13 @@ li::before { } section { grid-area: section; + margin: 1em 2em; +} + +textarea { + width: 100%; + height: 100%; + resize: none; } aside { @@ -97,6 +103,7 @@ sub { height: 100%; justify-items: center; align-items: center; + top: 0; } .settingsBtn { diff --git a/index.php b/index.php index 2b37039..5cb0c0c 100644 --- a/index.php +++ b/index.php @@ -20,9 +20,11 @@