refactor: remaining css props to tailwind #2#1152
Merged
JammingBen merged 3 commits intomainfrom Sep 5, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR continues the refactoring effort to replace CSS properties with Tailwind utilities. The changes systematically convert various styling properties including user-select, background properties, border-radius, display rules, transitions, and other CSS properties to their Tailwind equivalents across multiple components.
- Converts CSS properties like
user-select: nonetoselect-noneutility class - Replaces background-related properties with Tailwind utilities (
bg-center,bg-no-repeat, etc.) - Converts display and layout properties to Tailwind equivalents
- Updates test snapshots to reflect the new class additions
Reviewed Changes
Copilot reviewed 35 out of 35 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/design-system/src/components/OcAvatar/OcAvatar.vue | Adds select-none class and removes corresponding SCSS |
| packages/design-system/src/components/OcAvatarItem/OcAvatarItem.vue | Converts background properties to Tailwind utilities |
| packages/design-system/src/components/OcCheckbox/OcCheckbox.vue | Adds appearance and background utilities, removes SCSS equivalents |
| packages/design-system/src/components/OcRadio/OcRadio.vue | Converts appearance and background properties to Tailwind |
| packages/design-system/src/components/OcSpinner/OcSpinner.vue | Moves border-bottom-color to Tailwind utility |
| packages/design-system/src/components/OcSwitch/OcSwitch.vue | Converts border-radius property to Tailwind |
| packages/design-system/src/components/OcTable/OcTable.vue | Removes border-collapse and border-spacing SCSS |
| packages/web-runtime/src/components/Topbar/TopBar.vue | Adds select-none and reorganizes styles |
| packages/web-runtime/src/components/SidebarNav/SidebarNavItem.vue | Converts user-select to Tailwind utility |
| packages/web-pkg/src/components/SearchBarFilter.vue | Converts CSS utilities to Tailwind classes |
| packages/web-pkg/src/components/BatchActions.vue | Replaces SCSS with Tailwind utilities for layout |
| packages/web-app-files/src/components/Spaces/SpaceHeader.vue | Converts webkit-mask-image to Tailwind utility |
| packages/web-app-admin-settings/src/components/Users/UsersList.vue | Converts display properties to Tailwind breakpoint utilities |
| Test snapshot files | Updates to reflect new Tailwind class additions |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
b647011 to
7734a55
Compare
7734a55 to
fbdb7a3
Compare
openclouders
pushed a commit
that referenced
this pull request
Sep 5, 2025
…tailwind-2 refactor: remaining css props to tailwind #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refs #937