From 3f9154cb95953e4d4f23ea86f9e0b3b7b00c9ab6 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Thu, 15 May 2025 12:20:02 +0200 Subject: [PATCH] added the possibility of having more that one messsage shown in the modal --- public/css/style.css | 13 ++++++++++- public/index.html | 55 ++++++++++++++++++++++++++++---------------- public/js/index.js | 25 +++++++++++++++++--- 3 files changed, 69 insertions(+), 24 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 5f79f4a..749be02 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -35,13 +35,20 @@ button { cursor: pointer; } -.info-btn { +header .info-btn { background: none; border: none; font-size: 1rem; padding: 0; } +fieldset .info-btn { + aspect-ratio: 1; + padding: .35em .7em; + border-radius: 100%; + border-width: 1px; +} + header #page-title { display: flex; align-items: center; @@ -181,3 +188,7 @@ table tbody td:nth-child(1) { font-size: 1.5rem; cursor: pointer; } + +.modal-container h2 { + margin-top: 0; +} diff --git a/public/index.html b/public/index.html index 762399c..3f3a547 100644 --- a/public/index.html +++ b/public/index.html @@ -7,6 +7,7 @@ Dataset Downloader & Answer Uploader + @@ -18,12 +19,16 @@ Crab Crab Webapp - +
- Download a Dataset + + Download a Dataset + + +