Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292250

View dropbutton breaking UI if content is long

$
0
0

Problem/Motivation

Dropbutton field in view breaks the UI of page if the body content is too long. it shows correctly inside view preview but if you check the view page you see extremely long button going off the page. Checked this in olivero theme.

view dropbutton
view drop button 2

Steps to reproduce

  1. Create few nodes either article or basic page with long text in body.
  2. Create a content view page with default settings.
  3. In page display settings select unformatted list/grid/html list with fileds and save it.
  4. In view settings, add content body field with formatter set to summary or trimmed and trimmed limit set to >= 250. keep all other default settings.
  5. In view settings, add global dropbutton and check title and body under fields and keep all other default settings
  6. save the view and check the view page.

Proposed resolution

Currently width of dropbutton is set as width:max-content; changing it to width:100%; resolves the issue.


Viewing all articles
Browse latest Browse all 292250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>