Skip to content

Commit

Permalink
🎨(react) make eof stylesheets consistent
Browse files Browse the repository at this point in the history
Some older tools misbehave if the last line of data
in a text file is not terminated with a newline.
It makes sure the last line was properly terminated.
  • Loading branch information
lebaudantoine committed Jun 12, 2023
1 parent 59cf5de commit 6f05995
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/sweet-carrots-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@openfun/cunningham-react": patch
---

make eof stylesheet consistent with a newline
2 changes: 1 addition & 1 deletion packages/react/src/components/Accessibility/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
}
1 change: 0 additions & 1 deletion packages/react/src/components/Forms/Checkbox/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,3 @@
}
}
}

3 changes: 1 addition & 2 deletions packages/react/src/components/Forms/Field/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,4 @@
align-items: flex-start;
width: auto;
}

}
}
1 change: 0 additions & 1 deletion packages/react/src/components/Forms/Input/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,3 @@
}
}
}

2 changes: 1 addition & 1 deletion packages/react/src/components/Forms/Radio/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion packages/react/src/components/Forms/Select/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion packages/react/src/components/Loader/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
50% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
75% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}
}
2 changes: 1 addition & 1 deletion packages/react/src/components/Pagination/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
width: 100px;
}
}
}
}
2 changes: 1 addition & 1 deletion packages/react/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

* {
font-family: var(--c--theme--font--families--base);
}
}

0 comments on commit 6f05995

Please sign in to comment.