From 8a707610bf8da57d031c4c0d862d8237b1310013 Mon Sep 17 00:00:00 2001 From: Arthur Lefebvre Date: Sat, 7 Mar 2026 19:40:23 +0100 Subject: [PATCH] Book form: make buttons work on mobile view --- front/src/BigIcon.vue | 6 ++- front/src/BookDateWidget.vue | 52 ++++++------------------- front/src/BookForm.vue | 75 +++++++++++++++++++++++++++++++++--- front/src/DateWidget.vue | 42 ++++++++++++++++++++ 4 files changed, 128 insertions(+), 47 deletions(-) create mode 100644 front/src/DateWidget.vue diff --git a/front/src/BigIcon.vue b/front/src/BigIcon.vue index 3b9112b..bdf1402 100644 --- a/front/src/BigIcon.vue +++ b/front/src/BigIcon.vue @@ -35,7 +35,7 @@ onUnmounted(() => { @@ -182,8 +232,14 @@ img { width: 250px; } -.remove-border-bottom { - border-bottom: none; +.mobile-dates { + display: block; +} + +.mobiledate { + display: flex; + justify-content: center; + align-items: center; } @media (min-width: 1024px) { @@ -191,10 +247,14 @@ img { margin-left: 3rem; } - .border-radius-up-fill { + .border-radius-wantread-fill { border-radius: 45px 45px 0px 0px; } + .remove-border-bottom { + border-bottom: none; + } + .bigiconcontainer { display: flex; } @@ -204,13 +264,14 @@ img { img { max-height: 250px; max-width: 250px; + padding: 20px; } .bigiconcontainer { flex: 1; } - .border-radius-up-fill { + .border-radius-wantread-fill { border-radius: 38px 0px 0px 38px; } @@ -224,5 +285,9 @@ img { display: flex; width: 100%; } + + .border-radius-right-fill { + border-radius: 0px 38px 38px 0px; + } } diff --git a/front/src/DateWidget.vue b/front/src/DateWidget.vue new file mode 100644 index 0000000..4fa4130 --- /dev/null +++ b/front/src/DateWidget.vue @@ -0,0 +1,42 @@ + + + + +