Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit a788d67

Browse files
ckoegelajrice6713
andauthored
DX-3027 Change Mobile Spacing (#893)
* DX-3022 Optimize Sass * fix instances of px instead of rem * fixes to nesting * fix more nesting * update font weight in tab switchers * update fonts to use variables * overpass light variable * revert size and layout css * update sizing and layouts to use px * use variable for item grid item size * DX-3027 Change Mobile Spacing * update redoc version to fix arrows and expanding * fix merge error Co-authored-by: AJ Rice <[email protected]>
1 parent 59e2d1a commit a788d67

File tree

5 files changed

+25
-7
lines changed

5 files changed

+25
-7
lines changed

site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@docusaurus/core": "^2.2.0",
2121
"@docusaurus/preset-classic": "^2.2.0",
2222
"@types/react": "^17.0.0",
23-
"bandwidth-redoc": "^1.1.0",
23+
"bandwidth-redoc": "^1.2.0",
2424
"buffer": "^6.0.3",
2525
"core-js": "^3.1.4",
2626
"docusaurus-plugin-sass": "^0.2.2",

site/src/css/components/_Carousel.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
@include mobile-view {
1313
height: 300px;
14-
margin: 0;
1514
}
1615
@include ultra-slim-mobile-view {
1716
height: 240px;

site/src/css/components/_LandingPage.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
@include small-desktop-view {
1212
flex-direction: row;
1313
}
14+
@include mobile-view {
15+
padding-top: 2rem;
16+
}
1417

1518
.landing-page-left {
1619
width: 50%;
@@ -27,6 +30,10 @@
2730
@include mobile-view {
2831
width: 100%;
2932
padding: 0rem 2rem;
33+
margin-bottom: 50px;
34+
}
35+
@include slim-mobile-view {
36+
margin-bottom: 0;
3037
}
3138
}
3239

@@ -38,6 +45,9 @@
3845
height: 75px;
3946
margin-bottom: 75px;
4047
}
48+
@include mobile-view {
49+
margin-bottom: 20px;
50+
}
4151

4252
h1 {
4353
font-size: 3.6rem;

site/src/css/components/_SplashPage.scss

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,19 @@
1010
color: var(--ifm-font-color-base);
1111
margin-bottom: 90px;
1212

13+
@include slim-mobile-view {
14+
margin-bottom: 30px;
15+
}
16+
1317
.splash-header {
1418
width: 100%;
1519
height: auto;
1620
padding: 4em 2em;
1721

22+
@include mobile-view {
23+
padding: 2em 2em;
24+
}
25+
1826
h1 {
1927
font-family: $overpass;
2028
font-size: 4.2rem;
@@ -57,7 +65,8 @@
5765
margin-bottom: 90px;
5866

5967
@include mobile-view {
60-
margin-bottom: 0;
68+
height: auto;
69+
margin-bottom: 30px;
6170
}
6271
}
6372

site/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2712,10 +2712,10 @@ balanced-match@^1.0.0:
27122712
resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz"
27132713
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
27142714

2715-
bandwidth-redoc@^1.1.0:
2716-
version "1.1.0"
2717-
resolved "https://registry.yarnpkg.com/bandwidth-redoc/-/bandwidth-redoc-1.1.0.tgz#15728d5c22b25903daabdcedda69b020a06d0517"
2718-
integrity sha512-NVqsFhcnybL/I57ow8wf2+edWWw5mamg3ClIQkxvfxAxV5qmpKaj1vOZ8w3ptPdOKgMI/EkyhAuSozbYkKdhAw==
2715+
bandwidth-redoc@^1.2.0:
2716+
version "1.2.0"
2717+
resolved "https://registry.yarnpkg.com/bandwidth-redoc/-/bandwidth-redoc-1.2.0.tgz#71c85e5a5e2efea08070f6935901f13e25932d2e"
2718+
integrity sha512-vSYMVdRgJ4FTKsw3zqcAGxfmR6TrMIRYLBlnkrUeDWl5TBU5c+9ZwwBz/mFxUEqvr98qBpSFwgptNnWi2zuzYg==
27192719
dependencies:
27202720
"@redocly/openapi-core" "^1.0.0-beta.104"
27212721
classnames "^2.3.1"

0 commit comments

Comments
 (0)