From a109bbc8783815951b72ee06b1b3fe8df25b3893 Mon Sep 17 00:00:00 2001 From: "matth@ultra" Date: Mon, 2 Sep 2024 00:17:21 +0200 Subject: [PATCH] improve style --- Makefile | 24 ++++++++++++------------ src/style.css | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index b938c0f..4cfd813 100644 --- a/Makefile +++ b/Makefile @@ -24,18 +24,18 @@ default: css .PHONY: clean install stop test php css # Installation -ifndef ROOT_DIR -$(error Edit this Makefile and set the ROOT_DIR variable) -endif -ifndef INSTALL_DIR -$(error Edit this Makefile and set the INSTALL_DIR variable) -endif -ifndef STAGING_DIR -$(error Edit this Makefile and set the STAGING_DIR variable) -endif -ifndef ROOT_PATH -$(error Edit this Makefile and set the ROOT_PATH variable) -endif +# ifndef ROOT_DIR +# $(error Edit this Makefile and set the ROOT_DIR variable) +# endif +# ifndef INSTALL_DIR +# $(error Edit this Makefile and set the INSTALL_DIR variable) +# endif +# ifndef STAGING_DIR +# $(error Edit this Makefile and set the STAGING_DIR variable) +# endif +# ifndef ROOT_PATH +# $(error Edit this Makefile and set the ROOT_PATH variable) +# endif SRC_DIR = src _SRC_FLS = config.html config.js index.html index.js imgsort.php style.css style.css.map diff --git a/src/style.css b/src/style.css index a4c65bc..4ec514c 100644 --- a/src/style.css +++ b/src/style.css @@ -234,8 +234,8 @@ button:hover { width: 25%; max-height: calc(100vh - 20px - 4px); overflow: scroll; - margin-top: 0; - margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; } .current-file { height: 100%;