Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix right-top -> right top
  • Loading branch information
RobinMalfait committed Jun 6, 2024
commit cf5a3e06a824b4f9cbcb6939b51d6a671450866d
8 changes: 4 additions & 4 deletions packages/tailwindcss/src/utilities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7973,19 +7973,19 @@ test('bg', () => {
}

.bg-left-bottom {
background-position: left-bottom;
background-position: 0 100%;
}

.bg-left-top {
background-position: left-top;
background-position: 0 0;
}

.bg-right-bottom {
background-position: right-bottom;
background-position: 100% 100%;
}

.bg-right-top {
background-position: right-top;
background-position: 100% 0;
}

.bg-top {
Expand Down
8 changes: 4 additions & 4 deletions packages/tailwindcss/src/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2467,13 +2467,13 @@ export function createUtilities(theme: Theme) {

staticUtility('bg-center', [['background-position', 'center']])
staticUtility('bg-top', [['background-position', 'top']])
staticUtility('bg-right-top', [['background-position', 'right-top']])
staticUtility('bg-right-top', [['background-position', 'right top']])
staticUtility('bg-right', [['background-position', 'right']])
staticUtility('bg-right-bottom', [['background-position', 'right-bottom']])
staticUtility('bg-right-bottom', [['background-position', 'right bottom']])
staticUtility('bg-bottom', [['background-position', 'bottom']])
staticUtility('bg-left-bottom', [['background-position', 'left-bottom']])
staticUtility('bg-left-bottom', [['background-position', 'left bottom']])
staticUtility('bg-left', [['background-position', 'left']])
staticUtility('bg-left-top', [['background-position', 'left-top']])
staticUtility('bg-left-top', [['background-position', 'left top']])

staticUtility('bg-repeat', [['background-repeat', 'repeat']])
staticUtility('bg-no-repeat', [['background-repeat', 'no-repeat']])
Expand Down