Skip to content

Commit

Permalink
Homepage scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
radogado committed May 6, 2023
1 parent b6d3c3d commit 48edffe
Show file tree
Hide file tree
Showing 19 changed files with 574 additions and 561 deletions.
3 changes: 2 additions & 1 deletion components/table/table.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/table/table.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions components/table/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
display: table;
width: 100%;
overflow: hidden;
table-layout: fixed;
}

td,
Expand Down
13 changes: 4 additions & 9 deletions css/guide.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/guide.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 10 additions & 6 deletions css/guide.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ html {
// padding: 0;
// overflow: hidden; // Safari bug when zoomed in
// scroll-behavior: smooth;
height: 100%;
// height: 100%;
}

body {
Expand All @@ -58,7 +58,7 @@ body {
padding: 0;
// overflow: hidden;
// background: darkcyan;
height: 100%;
// height: 100%;
line-height: 1.333;
color: white;
}
Expand Down Expand Up @@ -448,14 +448,15 @@ aside {
a {
font-weight: 500;
text-decoration: none;
transition: color .2s ease-in-out, background .2s ease-in-out;

span {
color: var(--nui-color);
}
}

a:first-of-type {
background: var(--nui-control-color);
background: var(--nui-color);
-webkit-mask: var(--nui-logo);
-webkit-mask-repeat: no-repeat;
webkit-mask: var(--nui-logo);
Expand All @@ -470,7 +471,10 @@ aside {
}

a[href][aria-current] {
color: var(--nui-control-active-color, #00f);
&,
span {
color: var(--nui-control-active-color, #00f);
}

&:first-of-type {
background: var(--nui-control-active-color);
Expand All @@ -494,8 +498,8 @@ section {

main {
min-width: 0;
height: 100%;
overflow: auto;
// height: 100%;
// overflow: auto;
}

@media (min-width: 600px) {
Expand Down
2 changes: 1 addition & 1 deletion dist/niui.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/niui.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/niui.min.css.size
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14312
14324
2 changes: 1 addition & 1 deletion dist/niui.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/niui.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/niui.min.js.size
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12491
12455
Loading

0 comments on commit 48edffe

Please sign in to comment.