Skip to content

Conversation

@JammingBen
Copy link
Contributor

@JammingBen JammingBen commented Sep 4, 2025

Migration

  • oc-display-block > block
  • oc-display-inline-block > inline-block

Also, in dropdowns you need to set justify-content for buttons manually now if it differs from the default (center). Previously this was set globally. But then we needed to make exceptions where we don't want this behavior. So it was quite a mess. A bit more verbose now, but clean.

refs #937

@JammingBen
Copy link
Contributor Author

Currently waiting for #1138.

@JammingBen JammingBen force-pushed the refactor/remaining-flex-and-display-to-tailwind branch 2 times, most recently from 8a1cf7f to ba0de9c Compare September 4, 2025 12:33
@JammingBen JammingBen marked this pull request as ready for review September 4, 2025 12:39
Copilot AI review requested due to automatic review settings September 4, 2025 12:39
Comment on lines -352 to -356
.files-app-bar-controls {
@media (max-width: $oc-breakpoint-xsmall-max) {
justify-content: space-between;
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Was already set on the element.

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 remaining flex properties and display utilities from custom CSS classes to Tailwind equivalents, migrating oc-display-block to block, oc-display-inline-block to inline-block, and updating dropdown button justify-content handling to be explicitly set per component rather than globally.

Key changes:

  • Migrate display utilities to Tailwind classes
  • Replace global dropdown button styling with explicit justify-content props
  • Remove redundant CSS in favor of Tailwind utilities

Reviewed Changes

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

Show a summary per file
File Description
packages/web-runtime/src/pages/resolvePublicLink.vue Migrate display class and move text-input-message styling to inline Tailwind
packages/web-runtime/src/components/Topbar/UserMenu.vue Add explicit justify-content="left" to buttons and migrate display class
packages/web-runtime/src/components/Topbar/TopBar.vue Move justify-center to responsive classes
packages/design-system/src/components/OcButton/OcButton.vue Move items-center to base button styling
Various test snapshots Update snapshots to reflect new class changes

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

@JammingBen JammingBen requested a review from kulmann September 4, 2025 12:55
@JammingBen JammingBen force-pushed the refactor/remaining-flex-and-display-to-tailwind branch from ba0de9c to b088f54 Compare September 4, 2025 13:21
@JammingBen JammingBen merged commit 5f55abc into main Sep 4, 2025
28 checks passed
@JammingBen JammingBen deleted the refactor/remaining-flex-and-display-to-tailwind branch September 4, 2025 14:52
openclouders pushed a commit that referenced this pull request Sep 4, 2025
…d-display-to-tailwind

refactor: remaining flex props, display and fill to tailwind
@openclouders openclouders mentioned this pull request Sep 4, 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