-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[new]Add margin to bottom and sides for cloud pages (#13559)
* fix bottom margin on create source/destination pages * Add padding to bottom and convert styles to scss * replace icon style with scss * add side margin to pages and change style to scss * move repeated bottom margin size to variable
- Loading branch information
Showing
9 changed files
with
81 additions
and
61 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
airbyte-webapp/src/components/MainPageWithScroll/MainPageWithScroll.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,19 @@ | ||
@use "../../scss/variables"; | ||
|
||
.page { | ||
overflow-y: hidden; | ||
height: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.headerError { | ||
padding-top: 25px; | ||
} | ||
|
||
.content { | ||
overflow-y: auto; | ||
padding-top: 17px; | ||
height: 100%; | ||
padding-bottom: variables.$defaultBottomMargin; | ||
} |
33 changes: 9 additions & 24 deletions
33
airbyte-webapp/src/components/MainPageWithScroll/MainPageWithScroll.tsx
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
5 changes: 5 additions & 0 deletions
5
...ages/DestinationPage/pages/DestinationItemPage/components/DestinationSettings.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,5 @@ | ||
.content { | ||
width: 80%; | ||
max-width: 813px; | ||
margin: 18px auto; | ||
} |
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
5 changes: 5 additions & 0 deletions
5
...e-webapp/src/pages/SourcesPage/pages/SourceItemPage/components/SourceSettings.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,5 @@ | ||
.content { | ||
width: 80%; | ||
max-width: 813px; | ||
margin: 18px auto; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
$transition: 0.3s; | ||
$defaultBottomMargin: 150px; |
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