calendar icon indicating copy to clipboard operation
calendar copied to clipboard

[BUG] Appointment booking page broken on mobile with long descriptions

Open riparise opened this issue 9 months ago • 3 comments

Steps to reproduce

  1. Create and appointment with a multi-line description
  2. Open the link in a mobile

Expected behavior

elements should not overlap.

Actual behavior

This is how the page is formatted for mobile (here, emulating Galaxy S10 Android 11 on Firefox):

Image

On a desktop screen it works fine:

Image

For those impatient, the following custom css (app -> enable "custom css", then go to settings -> theming) seems to fix. Keep in mind this is 100% slop AI generated quick-and-dirty fix, and not a proper solution.

.booking__date-selection .booking__date-header {
    margin-top: 30px;              /* Adds a little space between description and calendar */
}

.booking__date-selection .mx-datepicker-popup {
    position: relative !important; /* Overrides absolute */
    top: auto !important;          /* Overrides the -274px calculation */
    transform: none !important;    /* Prevents JS positioning transforms */
    margin-top: 30px;              /* Adds a little space between description and calendar */
}

/* Ensure the wrapper takes up the necessary space */
.booking__date-selection .mx-datepicker {
    width: 100%;
    display: block;
}

.booking__date-selection .booking__time-zone {
    display: none !important;
}

Calendar app version

6.2.0

riparise avatar Mar 02 '26 15:03 riparise

loosely related to #7362 and #4142

riparise avatar Mar 02 '26 15:03 riparise

Hi @riparise

Thank you for the bug report.

Since you already seem to have a css fix for the issue, you are welcome to put in a PR to fix the issue. Also, FYI, there is a major restructuring coming in 6.3 (Vue 3 migration), so your changes might be short lived.

SebastianKrupinski avatar Mar 02 '26 17:03 SebastianKrupinski

Thanks for the reply. I will wait and if the issue persists in the 6.3 I will open a merge request

riparise avatar Mar 03 '26 22:03 riparise