Skip to content

Conversation

@JammingBen
Copy link
Contributor

Also simplifies the topbar grid a bit and makes it work nicely on all screen resolutions (this includes the search icon not being placed in the middle of the screen).

refs #937

Comment on lines -32 to -41
.files-view-wrapper {
grid-template-rows: max-content max-content 1fr;
grid-template-areas:
'header'
'upload'
'main';
}
#files-view {
grid-area: main;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't see how/why we would need this..?

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe just "not anymore"... I remember that Pascal introduced css grid into our code base, and that must be years ago.

@JammingBen JammingBen force-pushed the refactor/grid-to-tailwind branch from e618059 to 5113ce9 Compare September 4, 2025 13:50
@JammingBen JammingBen marked this pull request as ready for review September 4, 2025 13:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors grid layouts to use Tailwind CSS classes instead of custom SCSS grid implementations. The main purpose is to standardize styling approaches and simplify the topbar grid to work better across different screen resolutions.

  • Migration from custom CSS grid properties to Tailwind utility classes
  • Simplified topbar layout with dynamic column configurations based on content state
  • Removal of unused SCSS styling for grid layouts across multiple components

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
TopBar.vue Updated grid layout to use Tailwind classes with dynamic column configurations
AppTopBar.vue Migrated from SCSS grid positioning to Tailwind utility classes
ResourceTiles.vue Moved grid template columns from SCSS to Tailwind @layer components
EditDropdown.vue Converted grid-template-columns to Tailwind utility class
SpaceInfo.vue Removed unused SCSS grid styling
FileLinks.vue Migrated collapsible grid behavior to Tailwind conditional classes
AudioMetaPanel.vue Removed unused SCSS grid template columns
FilesViewWrapper.vue Removed unused SCSS grid areas and template definitions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@JammingBen JammingBen force-pushed the refactor/grid-to-tailwind branch 2 times, most recently from f8135b8 to f941d60 Compare September 5, 2025 06:33
Comment on lines -32 to -41
.files-view-wrapper {
grid-template-rows: max-content max-content 1fr;
grid-template-areas:
'header'
'upload'
'main';
}
#files-view {
grid-area: main;
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe just "not anymore"... I remember that Pascal introduced css grid into our code base, and that must be years ago.

@JammingBen JammingBen force-pushed the refactor/grid-to-tailwind branch from f941d60 to 4c9149a Compare September 5, 2025 09:19
@JammingBen JammingBen merged commit 5392fb9 into main Sep 5, 2025
28 checks passed
@JammingBen JammingBen deleted the refactor/grid-to-tailwind branch September 5, 2025 09:39
@openclouders openclouders mentioned this pull request Sep 5, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants