Problem/Motivation

After updating the theme to version 5.5.5 all the action buttons become sticky.

Css code causing the issue:

.form-actions {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 5px;
}

Steps to reproduce

  • Update the theme version to 5.5.5 through composer or manually
  • Update the permissions to enable a non admin role to add a content for any content type(with lots of fields)
  • Go to the node add form and start scrolling down.
  • Observe that the submit button becomes sticky.

Proposed resolution

Update the media css so that the styling is applied to only the media form and not all form actions globally.

Comments

arisen created an issue. See original summary.

arisen’s picture

Issue summary: View changes
maseyuk’s picture

This line is quite generic too and should probably be more specific as it essentially applies to all forms across the site:

.js-form-item {
  margin: 5px;
}
hatuhay’s picture

Status: Active » Fixed

  • hatuhay committed 39fccaf on 5.5.x
    Issue #3304229 by arisen: Newly added media css affecting form action...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.