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

style: SpoolSelectionDialog improvements #5

Conversation

pedrolamas
Copy link

There are a couple of minor styling issues, but I thought it would be best practice to send you a PR to your PR instead of directly merging the changes! 🙂

@@ -100,6 +109,9 @@ export default class AppDialog extends Vue {
@Prop({ type: Boolean })
readonly noActions?: boolean

@Prop({ type: Boolean })
readonly titleShadow?: boolean
Copy link
Author

Choose a reason for hiding this comment

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

This is a bit of a hack to get the shadow mode, but it works, so....

Copy link
Owner

@matmen matmen left a comment

Choose a reason for hiding this comment

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

Thanks. I've left a couple comments below:

Comment on lines +66 to +67
small
class="ms-1 my-1"
Copy link
Owner

@matmen matmen Feb 1, 2024

Choose a reason for hiding this comment

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

Suggested change
small
class="ms-1 my-1"
class="mr-2"

This feels a bit crammed, and I'm not sure if the button should be aligned with the search input box?

Before
image
After
image

Copy link
Author

Choose a reason for hiding this comment

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

The only reason I used those values is because we use them all over the app (ex: the cameras menu in camera card)

Copy link
Author

Choose a reason for hiding this comment

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

Regarding the alignment, can you check what is the difference on the file explorer card?

It should have have same issue I think...

Copy link
Owner

Choose a reason for hiding this comment

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

It uses the collapsable-card instead, and the button is aligned there:
image

Copy link
Author

Choose a reason for hiding this comment

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

I've fixed it, the problem was the margin on the search box (mx-2versus ml-1 like on the FileSystemToolbar.vue)

image

Comment on lines +22 to +23
small
class="ms-1 my-1"
Copy link
Owner

@matmen matmen Feb 1, 2024

Choose a reason for hiding this comment

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

Suggested change
small
class="ms-1 my-1"
class="mr-2"

See above

src/components/widgets/spoolman/SpoolSelectionDialog.vue Outdated Show resolved Hide resolved
@pedrolamas
Copy link
Author

I think I got all the margins covered now!

As I said, the only reason I went with these values is that they match the values we are using elsewhere in the app, so I am just trying to keep consistency!

Copy link
Owner

@matmen matmen left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@matmen matmen merged commit 17c72be into matmen:feat/spoolman/column-selection Feb 2, 2024
1 check passed
@pedrolamas pedrolamas deleted the pedrolamas/style-spoolman-dialog branch February 2, 2024 21:10
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.

2 participants