From a57a07666a140c38ca657d484674e85c9e10de23 Mon Sep 17 00:00:00 2001 From: mic Date: Sun, 12 May 2024 22:18:59 +0200 Subject: [PATCH] table heade sticky --- customprompts/mzta-custom-prompts.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/customprompts/mzta-custom-prompts.css b/customprompts/mzta-custom-prompts.css index ff3afdc1..78c2cfc2 100644 --- a/customprompts/mzta-custom-prompts.css +++ b/customprompts/mzta-custom-prompts.css @@ -11,15 +11,13 @@ table { background-color: #1C1B22; + border: 1px solid #ccc; } table th { background-color: #4c4e58; border: 1px solid rgb(251, 251, 254); color: rgb(194, 194, 194); - padding: 8px; - text-align: left; - cursor: pointer; } table tr:nth-child(even) { @@ -33,6 +31,11 @@ table { border: 1px solid #ccc; } +thead { + position: sticky; + top: 0; +} + table tr { border-bottom: 1px solid #ccc; } @@ -40,6 +43,7 @@ table tr { table th { padding: 8px; text-align: left; + cursor: pointer; } table td {