forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🪟 🧹 Credits page component cleanup (airbytehq#21870)
* update styling on connectionCell * cleanup the component and get rid of custom styles where possible * convert CreditsUsage page to scss module * cleanup * add connection status and connection name to endpoint data types * use variable * remove unused line * align icon and name center * adjust styling for arrow cell --------- Co-authored-by: Joey Marshment-Howell <josephkmh@users.noreply.github.com>
- Loading branch information
1 parent
bf1420a
commit 4dd8d30
Showing
6 changed files
with
64 additions
and
63 deletions.
There are no files selected for viewing
This file contains 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
10 changes: 10 additions & 0 deletions
10
...webapp/src/packages/cloud/views/credits/CreditsPage/components/ConnectionCell.module.scss
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.connectorItem { | ||
width: calc(100% - 30px / 2); | ||
} | ||
|
||
.arrowItem { | ||
flex: 0 0 30px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} |
This file contains 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
16 changes: 16 additions & 0 deletions
16
...e-webapp/src/packages/cloud/views/credits/CreditsPage/components/CreditsUsage.module.scss
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@use "scss/variables"; | ||
|
||
.empty { | ||
height: 100%; | ||
padding-bottom: variables.$spacing-xl; | ||
} | ||
|
||
.chartWrapper { | ||
width: 100%; | ||
height: 260px; | ||
padding: 0 variables.$spacing-2xl variables.$spacing-xl 0; | ||
} | ||
|
||
.cardBlock { | ||
margin: variables.$spacing-md 0 variables.$spacing-xl; | ||
} |
This file contains 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
This file contains 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