Skip to content

Fix duplicate layer-list class and align UI in Map Layer Manager - #12911

Merged
chiatt merged 2 commits into
archesproject:dev/8.2.xfrom
fszafran:patch-1
Nov 4, 2026
Merged

chiatt merged 2 commits into
archesproject:dev/8.2.xfrom
fszafran:patch-1

Conversation

@fszafran

@fszafran fszafran commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Description of Change

Hey, I came across a small bug in Map Layer Manager - css height rule seemed to have been truncating the list of available map layers.

I removed the fixed height: 50px; from .side-column-crud-container .layer-list in arches.scss, which fixed the issue.

Before:
image

After:
image

Issues Solved

Closes #

Checklist

  • I targeted one of these branches:
    • dev/8.2.x (under development): features, bugfixes not covered below
    • dev/8.1.x (main support): regressions, crashing bugs, security issues, major bugs in new features
    • dev/7.6.x (extended support): major security issues, data loss issues
  • I added a changelog in arches/releases
  • I submitted a PR to arches-docs (if appropriate)
  • Unit tests pass locally with my changes
  • I added tests that prove my fix is effective or that my feature works
  • My test fails on the target branch

Accessibility Checklist

Developer Guide

Topic Changed Retested
Color contrast
Form fields
Headings
Links
Keyboard
Responsive Design
HTML validation
Screen reader

Ticket Background

Further comments

@CLAassistant

CLAassistant commented Sep 4, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@chiatt chiatt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change makes the layer filter taller so that it no longer lines up with the header to the right. This is probably because the layer-list class is used twice when it only makes sense to use it for the list of layers.

Image

Could you adjust it so that it looks like this?

Image

@chiatt

chiatt commented Sep 4, 2026

Copy link
Copy Markdown
Member

I haven't seen this issue with a Chromium browser, Safari or FF. Just curious - what browser are you using @fszafran?

@fszafran

fszafran commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

Hey @chiatt, thanks for the quick response.
I'm on Chrome 152.0.7977.76 on Windows. I actually spun up the dev/8.2.x branch locally (arches-via-docker) this morning to double-check, and the truncation is still happening on my end.
You are right about the layer-list class usage in the filter. I will tackle the alignment fix whenever I get a bit of free time this week.

@fszafran

fszafran commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

I dug a bit deeper into my build and realized that I had a custom css class defined under .layer-list name, which was conflicting with the existing one. My apologies for the false alarm.
I can still fix the duplicate .layer-list usage that you pointed out this week.

@chiatt

chiatt commented Sep 8, 2026

Copy link
Copy Markdown
Member

I dug a bit deeper into my build and realized that I had a custom css class defined under .layer-list name, which was conflicting with the existing one. My apologies for the false alarm. I can still fix the duplicate .layer-list usage that you pointed out this week.

Thanks @fszafran - a fix to the duplicate class would definitely be welcome, but I think it's also an issue we can live with if you don't get the time.

@fszafran

Copy link
Copy Markdown
Contributor Author

Hey @chiatt, managed to find the time ;). I got rid of the duplicate .layer-list class. I also added a bit of breathing space in between the layer cards and removed what seemed to be some inconsistent background coloring.
Hopefully you like it.
image

@fszafran fszafran changed the title Fix layer-list truncation in Map Layer Manager Fix duplicate layer-list class and align UI in Map Layer Manager Sep 15, 2026

@chiatt chiatt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@chiatt
chiatt merged commit 6732bbd into archesproject:dev/8.2.x Nov 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants