From 6329bacff838881bf0e44a9460838a4335b3e8c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Z=C3=A1le=C5=A1=C3=A1k?= Date: Fri, 25 Dec 2020 22:36:53 +0100 Subject: [PATCH] =?UTF-8?q?p=C5=99id=C3=A1n=C3=AD=20ulo=C5=BEen=C3=AD=20zm?= =?UTF-8?q?=C4=9Bn=20do=20fs,=20oprava=20vypisov=C3=A1n=C3=AD=20dir=20tree?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/style.css | 4 ++++ index.php | 3 ++- js/controller.js | 27 ++++++++++++++++++++++++--- js/model.js | 15 ++++++++++++++- js/view.js | 10 ++++++++++ 5 files changed, 54 insertions(+), 5 deletions(-) diff --git a/css/style.css b/css/style.css index 8bf2315..a0d2378 100644 --- a/css/style.css +++ b/css/style.css @@ -66,6 +66,10 @@ li::before { section { grid-area: section; margin: 1em 2em; + display: grid; + grid-template-columns: auto; + grid-template-rows: auto min-content; + row-gap: 2em; } textarea { diff --git a/index.php b/index.php index 5cb0c0c..8aabae9 100644 --- a/index.php +++ b/index.php @@ -32,7 +32,8 @@
- + +