Skip to content
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

Add padding to edges of file list, and compensate spacing in details and grid #924

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

garrett
Copy link
Member

@garrett garrett commented Jan 30, 2025

Mostly fixes #787 by adding a bit of padding around the list (and trimming some spacing inside the details and grid views).

However, it'd probably also be a good idea to show the folder's context menu when you right click the grey background gutter area.

@garrett garrett requested review from jelly and tomasmatus January 30, 2025 15:51
Copy link
Member

@jelly jelly left a comment

Choose a reason for hiding this comment

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

This introduces a regression where the last row has an underline

image

@@ -183,16 +183,16 @@

&.view-details {
--icon-size: 16px;
--pf-v5-c-table--m-compact--cell--first-last-child--PaddingLeft: var(--pf-v5-global--spacer--md);
--pf-v5-c-table--m-compact--cell--first-last-child--PaddingRight: var(--pf-v5-global--spacer--md);
Copy link
Member

Choose a reason for hiding this comment

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

Would be nice to know where this exactly comes from, for when we try to look into PF6

Copy link
Member Author

Choose a reason for hiding this comment

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

It's in the table component, used in the cells, in the compact variant... according to the variable naming. As the component variables are defined in the toplevel component, that's where I changed it here (rather than lower in the stack).

@garrett
Copy link
Member Author

garrett commented Feb 4, 2025

This introduces a regression where the last row has an underline

I don't think it does code-wise, even if it does show up visually. It's probably just that it's more visible now instead. Perhaps I changed margin to 0 instead of -1px or something like that.

But, yeah, we should fix it.

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.

Missing gutter in listview making it impossible to right click
2 participants