From 23952f2f32f37bdf78160dbfe5eb9c9a82ac89e0 Mon Sep 17 00:00:00 2001 From: Luka Hietala Date: Fri, 31 Oct 2025 12:05:00 +0200 Subject: [PATCH] input css ja muokkaus column css --- css/style.css | 16 +++++++++++++++- public/index.php | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 4c12a5d..6920044 100755 --- a/css/style.css +++ b/css/style.css @@ -17,11 +17,15 @@ button { border: none; background-color: var(--main-color); color: white; - padding: 4px; + padding: 6px 8px; border-radius: 10%; cursor: pointer; } +input { + padding: 5px 10px; +} + table { table-layout: fixed; border-collapse: collapse; @@ -44,6 +48,16 @@ tbody tr:nth-child(odd) { overflow-x: auto; } +.searchInput { + margin-bottom: 5px; +} + +table .muokkaus-column { + display: flex; + flex-direction: row; + gap: 4px; +} + footer{ text-align: center; } diff --git a/public/index.php b/public/index.php index 0395038..d4e4d36 100755 --- a/public/index.php +++ b/public/index.php @@ -96,7 +96,7 @@ if ($result->num_rows>0){ echo "" . $tyyppi["ruokaraha"] . ""; echo "" . $tyyppi["muuta"] . ""; if ($op or ($logged_in and $tunnus === $tyyppi['nimi'])) { // Jos opettaja tai muokkaa omia tietoja - echo "" . // Poista nappi + echo "" . // Poista nappi "
-- 2.47.3