Skip to content

Commit 7da8777

Browse files
committed
improved NavBar spacing
1 parent aed2a8b commit 7da8777

8 files changed

Lines changed: 17 additions & 13 deletions

File tree

src/demo/pages/css/home.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
}
5252
.home-footer-group .group {
5353
width: inherit;
54-
height: 2.2vh;
54+
height: 1.8vh;
5555
background-color: var(--PrimaryColor);
5656
}
5757
.group.a {

src/lib/dist/react-windows-ui.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/source/stylesheet/components/AppContentWrap.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
@mixin app-content-wrap-mobile() {
6262
.app-section-container {
6363
margin: 0 !important;
64-
padding: 85px 0 0 0 !important;
64+
padding: 78px 0 0 0 !important;
6565

6666
&.has-padding {
6767
margin: 0 15px !important;

src/source/stylesheet/components/AppNavBar/navbar-mobile/NavBarMobile.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@mixin app-navbar-mobile() {
22
.app-nav-wrap nav {
33
width: 100%;
4-
height: 85px;
4+
height: 78px;
55
overflow-y: hidden;
66
overflow-x: scroll;
77
box-shadow: 1px 0 5px rgba(0, 0, 0, 0.25);
@@ -10,11 +10,12 @@
1010
width: 100%;
1111
display: inline-flex;
1212
position: relative;
13-
top: 37px;
13+
top: 30px;
1414
margin: 0 auto;
1515
z-index: 2;
1616
line-height: 2.2;
1717
white-space: nowrap;
18+
padding: 4px 0 0 0;
1819
}
1920

2021
ul h1,

src/source/stylesheet/components/AppNavBar/sub-components/NavBarSubMenu.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
align-self: center;
4747

4848
.app-nav-submenu-title {
49-
font-size: 20px;
49+
font-size: 18px;
5050
margin: 0 7px;
5151
padding: 0;
5252
font-weight: unset;
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
.app-name {
22
@extend .color-dark-text;
33
@extend .font-weight-500;
4-
@extend .font-size-16px;
54
@extend .transition-background-400ms;
65

76
padding-inline-start: 10px;
87
display: inline-block;
98
white-space: nowrap;
109
text-overflow: ellipsis;
1110
user-select: none;
11+
font-size: 16px;
1212
}
1313

1414
@mixin nav-appname-mobile() {
1515
.app-nav-wrap {
1616
.app-name {
1717
padding: 10px 15px;
18+
font-size: 14px;
1819
}
1920
}
2021
}

src/source/stylesheet/components/AppNavBar/sub-items/Nav_Li.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
&::after { transform: translate3d(0, -10, 0); }
9292
}
9393
span {
94-
font-size: 20px;
94+
font-size: 18px;
9595
margin: 0 7px;
9696
overflow: visible;
9797
}

src/source/stylesheet/components/AppNavBar/sub-items/Nav_SearchBox.scss

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@
2727
padding-left: 45px;
2828
}
2929
i {
30-
font-size: 21px;
30+
font-size: 18px;
3131
margin-right: -35px;
3232
z-index: 1;
33+
line-height: normal;
3334
}
3435
.icons10-cross {
3536
margin: 0;
@@ -67,17 +68,18 @@
6768
.app-search-box { display: none; }
6869

6970
.app-search-dialog {
70-
padding: 2px 0 0 20px;
71+
padding: 0 0 0 20px;
72+
z-index: 9;
7173

7274
.app-input-search {
7375
width: 70%;
7476
}
7577
}
7678
.app-search-dialog-trigger {
77-
display: inline;
78-
font-size: 22px;
79+
display: inline-flex;
80+
align-items: center;
81+
font-size: 18px;
7982
padding: 0 10px 0 15px;
80-
vertical-align: sub;
8183
}
8284
}
8385
}

0 commit comments

Comments
 (0)