From f32ef4cc0b3ecedd82bc517f83127a416e994fd6 Mon Sep 17 00:00:00 2001 From: aeschi <56318362+aeschi@users.noreply.github.com> Date: Mon, 23 Sep 2024 12:12:08 +0200 Subject: [PATCH] feat: added label name to connected cube side (#48) * feat: added label name to connected cube side * feat: add fixed with to cube container --- index.css | 30 +++++- index.html | 269 ++++++++++++++++++++++++++++------------------------- 2 files changed, 171 insertions(+), 128 deletions(-) diff --git a/index.css b/index.css index 6c4fa60..a7e9762 100644 --- a/index.css +++ b/index.css @@ -9,18 +9,19 @@ body { } main { - max-width: 400px; + max-width: 90vw; min-width: 350px; } button { margin-top: 2rem; - width: 100%; + width: 200px; background-color: #121212; color: white; border: none; padding: 0.5rem 1rem; cursor: pointer; + align-self: center; } button:hover { @@ -28,7 +29,7 @@ button:hover { } input[type="text"] { - width: 80%; + width: 90%; padding: 10px 20px; margin: 8px 0; display: inline-block; @@ -75,3 +76,26 @@ h3 { align-items: center; justify-content: space-between; } + +.focus-group-container { + display: flex; + flex-wrap: wrap; + width: 100%; + gap: 4rem; +} + +label { + font-weight: bold; +} + +form { + display: flex; + flex-direction: column; + justify-content: center; +} + +.group-a, +.group-b, +.group-c { + width: 280px; +} diff --git a/index.html b/index.html index dad7fe1..8fb4bca 100644 --- a/index.html +++ b/index.html @@ -25,123 +25,130 @@

Ideenwürfel

klicken.
-

Würfel A: Fokus Gruppe

-
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- -

Würfel B: Thema

-
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- -

Würfel C: Medium

-
- - -
- - +
+
+

Würfel A: Fokus Gruppe

+
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+
+ +
+

Würfel B: Thema

+
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+
+ +
+

Würfel C: Medium

+
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- @@ -221,8 +228,6 @@

Würfel C: Medium

labels[input.id] = input.value; } - console.log(labels); - fetch("http://localhost:8000/labels", { body: JSON.stringify({ labels }), method: "PUT", @@ -245,6 +250,8 @@

Würfel C: Medium

.catch((error) => console.error(error));