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

Overly broad CSS in views_ui.admin.css interferes with properly floating Toolbar shortcut links

$
0
0

This stems from #1937926: Shortcuts toolbar tray does not properly float the "Edit shortcuts" link in Bartik where the patch in #15 fixes an issue with the Toolbar that kept the "Edit shortcuts" link from appearing on the same line as the actual shortcut links. The overly broad CSS in views_ui.admin.css was identified as follows:

/* @group Inline lists */

.horizontal > * {
  clear: none;
  float: left; /* LTR */
}

.horizontal.right {
  float: right;
}

.horizontal label {
  position: absolute;
}

.horizontal .form-item > [class] {
  margin-top: 25px;
}

.horizontal .form-item > [class] + [class] {
  margin-top: 0;
}

/* @end */

Specifically, the float: right on .horizontal > * results in the broken two-line display:

I'm not sure if just removing that float is all that's necessary, so I'm going to leave this active for someone with more knowledge of the Views UI CSS to let us know if that breaks any other part of the Views UI when removed. : )

For a screenie of the functioning behavior: #1937926-22: Shortcuts toolbar tray does not properly float the "Edit shortcuts" link in Bartik

AttachmentSizeStatusTest resultOperations
views-ui-css-toolbar.png29.49 KBIgnored: Check issue status.NoneNone

Viewing all articles
Browse latest Browse all 292894

Trending Articles



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