Spacing in Claro pushes content down, requiring much scrolling

Created on 12 September 2019, almost 5 years ago
Updated 15 December 2023, 7 months ago

Admin pages aren't usable with Claro on a 13 inch laptop. Here's a comparison of the Views admin page in Claro and Seven:

There is far too much spacing between elements.

🐛 Bug report
Status

Closed: works as designed

Version

11.0 🔥

Component
Claro 

Last updated about 24 hours ago

Created by

🇬🇧United Kingdom joachim

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.

  • 🇺🇸United States dww

    Just stumbled upon 🐛 Views exposed filters take too much space Active and commented over there to ask if it's duplicate with this one...

  • 🇭🇺Hungary djg_tram

    @ressa, your wish is my command. :-) Actually, I had the same problem, in order to switch to Claro, I had to modifiy it to be usable. So, I created Claro Compact .

  • 🇩🇰Denmark ressa Copenhagen

    Cool @djg_tram, thanks! I look forward to the first release (it looks like the systems are populating themselves right now) and will try it out, as soon as it's available. Have a great day!

  • 🇭🇺Hungary djg_tram

    Already published around that time. :-)

  • 🇪🇸Spain ckrina Barcelona

    The option to have reduced spacing for some specific cases where you need to deal with a lot of info is something we're aware of in Claro. Since it's a page specific or user specific (really valid) use case we started the conversation to provide it as a setting in Provide form for customizable settings Active , so any help or ideas there would be really appreciated.
    When we finish 🌱 [META] Update Claro CSS with new coding standards Active most of the spacing will likely be easily changed with variable settings. @djg_tram if you'd like to provide an overview of what you have changed in your theme it might help deciding what will need to be changed & moving forward here. Thanks!

  • 🇩🇰Denmark ressa Copenhagen

    Thanks @ckrina, I am using https://www.drupal.org/project/claro_compact and it works great, improving productivity due to much less scrolling. There are minor issues here and there, but nothing which is easily fixed. Thank you @djg_tram!

  • 🇭🇺Hungary djg_tram

    @ckrina, actually, it was a few months ago already, and I've been simply using it without thinking much about it. I don't know how I could describe what was changed without simply resorting to a "look it up in the CSS". :-)) I think I touched most containers and almost all changes are padding and margins where I mostly simply moved to a smaller variable: for instance, you might have used var(--space-m) somewhere, I modified it to var(--space-s) and similar. There are two or three font size changes, too.

    @ressa, anything that you would care to mention as an issue so that I can look into?

  • 🇪🇸Spain ckrina Barcelona

    Answering again after @joachim's comments on Mastodon so all the time invested on the explanation is useful for others.

    The problem you are pointing out is that elements are taking too much space and the main content ends-up below the fold. We all agreed from the first time we got that feedback in Claro years ago. But with my years of experience in design and UX I can assure you just making all the elements smaller as you propose is not the solution. To really solve the real problem we need think more holistically (there are other UX related problems) and re-organize the UI and we opened an issue for that way back on time: 📌 [META] Layout redesign Active . Also, other alternative specific solutions have been developed for several places, with one of its examples being 📌 Implement bulk operation designs Fixed .
    Why hasn’t this happened yet? Because the new Toolbar/Navigation is one of the big changes we need to do. We are mainly focused on making sure that lands soon with enough user testing and as much feedback taken into account as we can. And that has priority because its complexity and impact overall in the admin UI.

    Also, we can’t just make elements smaller by default in an issue and changing this in a minor release. How many sites and contributed modules that have built UI elements on top of the existing styles would be affected by a change like this? But we’re planning on updating Claro look&feel thanks to all the work happening on the new Toolbar and the layout redesign. It will not be just a change of colors, but several visual changes planned years ago like the “layers” (Gin has implemented it) and other spacing changes beyond the ones suggested here and that will improve the UX in several levels. I can’t share the designs because they aren’t finished yet, but it will probably add smaller defaults, plus the already mentioned capacity to customize it. But we need to plan how to release this changes in a way we don’t break anything.

    All this hasn’t happened yet because there isn’t enough people working consistently on this. We do everything we can, but we keep needing help.

    So if you can’t or don’t want to help, you can try to use the great fixes suggested on this issue.

  • Status changed to Closed: works as designed 7 months ago
  • 🇨🇭Switzerland saschaeggi Zurich

    Hey y'all 👋

    I'm going to close this issue in favor of 📌 [META] Layout redesign Active

    As we won't be able to tackle this independently and it is something we're currently look into while working on the layout redesign. We're also currently migrating some CSS so in the future we will be able to migrate/port more features from Gin to Claro. This would mean that we can include things like theme density settings etc. to customize the admin experience.

    In the meantime there are some viable options out there to be considered & ready to be used if you can't wait:

    Thanks for your patience & let's create an even better Admin UI experience with the upcoming changes 🤝

Production build 0.69.0 2024