Skip to content

Commit

Permalink
Merge pull request #54 from radogado/gh-pages
Browse files Browse the repository at this point in the history
Homepage scroll
  • Loading branch information
radogado committed May 9, 2023
2 parents 37c0f6e + f07e785 commit b0fc7a0
Show file tree
Hide file tree
Showing 21 changed files with 2,938 additions and 2,915 deletions.
12 changes: 7 additions & 5 deletions 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.

22 changes: 14 additions & 8 deletions components/table/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@
@import "../../css/niui-setup";

.n-table {
overflow: auto;
border-collapse: collapse;
border-radius: var(--nui-border-radius);
box-shadow: 0 0 0 var(--nui-border-size) var(--nui-border-color), 0 0 var(--nui-shadow-blur) calc(var(--nui-border-size) + var(--nui-shadow-size)) var(--nui-shadow-color);
display: inline-block;

&,
&--wide {
overflow: auto;
border-collapse: collapse;
border-radius: var(--nui-border-radius);
box-shadow: 0 0 0 var(--nui-border-size) var(--nui-border-color), 0 0 var(--nui-shadow-blur) calc(var(--nui-border-size) + var(--nui-shadow-size)) var(--nui-shadow-color);
display: inline-block;
}

&--wide {
display: table;
width: 100%;
overflow: hidden;
table-layout: fixed;
overflow: auto;
.n-table {
width: 100%;
display: table;
}
}

td,
Expand Down
6 changes: 4 additions & 2 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.

4 changes: 3 additions & 1 deletion css/guide.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ html {

body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
margin: 0;
margin: auto;
padding: 0;
// overflow: hidden;
// background: darkcyan;
Expand Down Expand Up @@ -444,6 +444,7 @@ aside {
display: flex;
gap: 1em;
box-shadow: 0 0 0.333em 0px #00000066;
--nui-control-active-color: #bc8453;

a {
font-weight: 500;
Expand Down Expand Up @@ -498,6 +499,7 @@ section {

main {
min-width: 0;
overflow-x: hidden;
// height: 100%;
// overflow: auto;
}
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 @@
14324
14308
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 @@
12455
12491
Loading

0 comments on commit b0fc7a0

Please sign in to comment.