Skip to content

Commit

Permalink
Rename inset-s/e to start/end
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Dec 24, 2022
1 parent 45a0129 commit 3b90b53
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/corePlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -619,8 +619,8 @@ export let corePlugins = {
['inset-y', ['top', 'bottom']],
],
[
['inset-s', ['inset-inline-start']],
['inset-e', ['inset-inline-end']],
['start', ['inset-inline-start']],
['end', ['inset-inline-end']],
['top', ['top']],
['right', ['right']],
['bottom', ['bottom']],
Expand Down
4 changes: 2 additions & 2 deletions tests/kitchen-sink.test.css
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,10 @@ div {
left: 0.25rem;
right: 0.25rem;
}
.inset-s-4 {
.start-4 {
inset-inline-start: 1rem;
}
.inset-e-8 {
.end-8 {
inset-inline-end: 2rem;
}
.mx-1 {
Expand Down
2 changes: 1 addition & 1 deletion tests/kitchen-sink.test.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="test-apply-font-variant"></div>
<div class="mt-6 mx-1 ms-4 me-8"></div>
<div class="pt-6 px-1 ps-4 pe-8"></div>
<div class="inset-6 inset-x-1 inset-s-4 inset-e-8"></div>
<div class="inset-6 inset-x-1 start-4 end-8"></div>
<div class="border-2 border-s-0 border-e-4"></div>
<div class="border-black border-s-green-500 border-e-red-400"></div>
<div class="rounded-s rounded-e rounded-ss rounded-es"></div>
Expand Down

0 comments on commit 3b90b53

Please sign in to comment.