-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Action / Pad / Group] Extra border when using Action Pad / Group / Action in Grid layout #7380
Comments
I agree Action Group should extend fully to the edges of the Pad without 1px transparent border. However, I could see the dividing borders between Actions remaining on |
I think that's a good medium - the visual border isn't needed with a single row Action Pad or Action Group, but when there are multiple rows of Actions in a |
This issue wasn't a big priority before because I could overwrite the padding and gap by setting styles on Thus, after Calcite update, I am not able to overwrite these styles without going into shadow dom, which broke my UI: (before update on the left; after update on the right) Can you please either remove padding, or add a CSS variable to customize it? (this is needed before the next JS SDK release a month from now) |
As a workaround, could you override the background-color of the action-pad to at least make the grid spacing less apparent (see https://codepen.io/jcfranco/pen/MWZePdb?editors=1000)? |
yes, that's why I mentioned:
and the consequence:
but again, the padding:1px is a larger issue |
Whoops. Sorry I missed that. 😅 @macandcheese Is there an existing CSS prop we could add to |
I think we would need to introduce a css var on the |
…ng when layout is "grid" (#7763) **Related Issue:** #7380 ## Summary - Adds `--calcite-action-group-gap` CSS variable to set the gap (gutters) between rows and columns when the `layout` property is `"grid"`. - Adds `--calcite-action-group-padding` CSS variable to set the padding when the `layout` property is `"grid"`. - Add screenshot test
Installed and assigned for verification. |
Verified in calcite-action-group {
--calcite-action-group-gap: 0;
--calcite-action-group-padding: 0;
} |
Check existing issues
Actual Behavior
When using Action Pad in "Grid" layout, along with an Action Group and set of Actions - there is 1px extra at the left and right edges.
Expected Behavior
I'd expect the Action Group to extend fully to the edges of the Pad and not have 1px transparent border.
Reproduction Sample
https://codepen.io/mac_and_cheese/pen/mdQzRXo?editors=1000
Reproduction Steps
Reproduction Version
Latest
Relevant Info
No response
Regression?
No response
Priority impact
p4 - not time sensitive
Impact
No response
Calcite package
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: