-
Notifications
You must be signed in to change notification settings - Fork 25
refactor: remaining flex props, display and fill to tailwind #1146
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
refactor: remaining flex props, display and fill to tailwind #1146
Conversation
|
Currently waiting for #1138. |
8a1cf7f to
ba0de9c
Compare
| .files-app-bar-controls { | ||
| @media (max-width: $oc-breakpoint-xsmall-max) { | ||
| justify-content: space-between; | ||
| } | ||
| } |
There was a problem hiding this comment.
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.
packages/web-app-admin-settings/src/components/Groups/SideBar/EditPanel.vue
Show resolved
Hide resolved
packages/web-app-admin-settings/src/components/Groups/SideBar/GroupInfoBox.vue
Show resolved
Hide resolved
There was a problem hiding this 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.
ba0de9c to
b088f54
Compare
…d-display-to-tailwind refactor: remaining flex props, display and fill to tailwind
Migration
oc-display-block>blockoc-display-inline-block>inline-blockAlso, in dropdowns you need to set
justify-contentfor 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