Skip to content
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

🪟 🎨 Fix endOfLine formatting with prettier #20370

Merged
merged 2 commits into from
Dec 12, 2022
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
1 change: 1 addition & 0 deletions airbyte-webapp/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
printWidth: 120,
endOfLine: "lf",
};
Original file line number Diff line number Diff line change
@@ -1,44 +1,45 @@
@use "scss/colors";
@use "scss/variables";

.content {
display: flex;
height: 340px;
}

.actions, .description {
display: flex;
flex-direction: column;
padding: variables.$spacing-xl;
}

.actions {
flex: 0 0 300px;

.radioButton + .radioButton {
margin-top: variables.$spacing-xl;
}

.input {
position: relative;
margin: variables.$spacing-xl 0 0 variables.$spacing-xl;

.errorMessage {
position: absolute;
bottom: -16px;
left: 0;
color: colors.$red-600;
}
}
}

.description {
overflow: auto;
flex: 1 0 0;
background-color: colors.$grey-50;

.generalInfo {
color: colors.$grey;
margin: variables.$spacing-lg 0;
}
}
@use "scss/colors";
@use "scss/variables";

.content {
display: flex;
height: 340px;
}

.actions,
.description {
display: flex;
flex-direction: column;
padding: variables.$spacing-xl;
}

.actions {
flex: 0 0 300px;

.radioButton + .radioButton {
margin-top: variables.$spacing-xl;
}

.input {
position: relative;
margin: variables.$spacing-xl 0 0 variables.$spacing-xl;

.errorMessage {
position: absolute;
bottom: -16px;
left: 0;
color: colors.$red-600;
}
}
}

.description {
overflow: auto;
flex: 1 0 0;
background-color: colors.$grey-50;

.generalInfo {
color: colors.$grey;
margin: variables.$spacing-lg 0;
}
}
Original file line number Diff line number Diff line change
@@ -1,50 +1,52 @@
@use "scss/colors";
@use "scss/variables";

.exampleSettingsTable {
border-spacing: 0;
border-collapse: separate;

tr {
th, td {
padding: variables.$spacing-md;
border-style: solid;
border-color: colors.$dark-blue-50;
border-width: 0 variables.$border-thin variables.$border-thin 0;
}

th {
border-top-width: variables.$border-thin;
background-color: colors.$dark-blue-50;
text-align: left;

.text {
color: colors.$grey-600;
}
}

td {
background-color: colors.$white;

&:first-child, th:first-child {
border-left-width: variables.$border-thin;
}
}

&:first-child th:first-child {
border-top-left-radius: variables.$border-radius-xs;
}

&:first-child th:last-child {
border-top-right-radius: variables.$border-radius-xs;
}

&:last-child td:first-child {
border-bottom-left-radius: variables.$border-radius-xs;
}

&:last-child td:last-child {
border-bottom-right-radius: variables.$border-radius-xs;
}
}
}
@use "scss/colors";
@use "scss/variables";

.exampleSettingsTable {
border-spacing: 0;
border-collapse: separate;

tr {
th,
td {
padding: variables.$spacing-md;
border-style: solid;
border-color: colors.$dark-blue-50;
border-width: 0 variables.$border-thin variables.$border-thin 0;
}

th {
border-top-width: variables.$border-thin;
background-color: colors.$dark-blue-50;
text-align: left;

.text {
color: colors.$grey-600;
}
}

td {
background-color: colors.$white;

&:first-child,
th:first-child {
border-left-width: variables.$border-thin;
}
}

&:first-child th:first-child {
border-top-left-radius: variables.$border-radius-xs;
}

&:first-child th:last-child {
border-top-right-radius: variables.$border-radius-xs;
}

&:last-child td:first-child {
border-bottom-left-radius: variables.$border-radius-xs;
}

&:last-child td:last-child {
border-bottom-right-radius: variables.$border-radius-xs;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
@use "scss/colors";
@use "scss/variables";
.content {
display: flex;
flex-direction: column;
margin: variables.$spacing-xl;
}
.description {
color: colors.$grey;
margin-bottom: variables.$spacing-xl;
}
.radioButton + .radioButton {
margin-top: variables.$spacing-xl;
}
.input {
position: relative;
margin: variables.$spacing-xl 0 variables.$spacing-xl variables.$spacing-xl;
.errorMessage {
position: absolute;
bottom: -16px;
left: 0;
color: colors.$red-600;
}
}
@use "scss/colors";
@use "scss/variables";

.content {
display: flex;
flex-direction: column;
margin: variables.$spacing-xl;
}

.description {
color: colors.$grey;
margin-bottom: variables.$spacing-xl;
}

.radioButton + .radioButton {
margin-top: variables.$spacing-xl;
}

.input {
position: relative;
margin: variables.$spacing-xl 0 variables.$spacing-xl variables.$spacing-xl;

.errorMessage {
position: absolute;
bottom: -16px;
left: 0;
color: colors.$red-600;
}
}