off-canvas fielset legend above first field title

Created on 23 October 2019, about 5 years ago
Updated 20 May 2023, over 1 year ago

I have a custom form with only a geofield bounding box.
I display this form as off-canvas.
The title of the field is display above the first field (Top field).
I don't think the problem is Geofield here, in fact the Geofield is composed of a fieldset with 4 field (Top/Right/Bottom/Left).
The title of the geofield become the legend of the fieldset.
The legend is display in 'absolute' (from seven) but there is a padding enough for fields inside to be bellow the legend. Now, because the off-canvas set the padding to 0 the legend appears on top of the title of the first field.

To not break anything else I added a custom class on the geofield and restored the padding when displayed in off-canvas to fix this :

#drupal-off-canvas fieldset.my-class {
padding-top: 30px;
}

But a more generic solution might be found

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇫🇷France GPZ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇿New Zealand quietone

    The Seven theme has been removed from core and this issue needs to find a new home. I asked about this is #frontend where markconroy responded saying that this should move to the geofield project.

  • Status changed to Postponed: needs info almost 2 years ago
  • 🇮🇹Italy itamair

    you should provide some insights on this @GPZ.
    Quite difficult to easily understand your issue, and as it looks something related to design, theming, styling, etc...
    I would expect at least some clear screenshot(s) with highlight and description of your styling issue ...

  • Status changed to Closed: outdated over 1 year ago
  • 🇮🇹Italy itamair

    No further feedback from the author of this. Closing this ...

Production build 0.71.5 2024