Skip to content

Commit

Permalink
refactor: lists
Browse files Browse the repository at this point in the history
  • Loading branch information
dknight committed Jan 25, 2024
1 parent 9ebd290 commit 1e41ef8
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 21 deletions.
12 changes: 6 additions & 6 deletions dist/kerge.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ li {
margin: 0;
}

.menu, .reset {
margin: 0;
padding: 0;
list-style: none;
}

.table {
overflow-x: auto;
}
Expand Down Expand Up @@ -159,12 +165,6 @@ td, th {
white-space: nowrap;
}

.menu, .reset {
margin: 0;
padding: 0;
list-style: none;
}

:root {
font: var(--fw) var(--fs) var(--ff);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/kerge.min.css

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

Binary file modified dist/kerge.min.css.gz
Binary file not shown.
1 change: 0 additions & 1 deletion src/kerge.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
@import 'modules/dropdown.css' /*layer(components)*/;
@import 'modules/input.css' /*layer(components)*/;
@import 'modules/lists.css' /*layer(components)*/;
@import 'modules/menu.css' /*layer(components)*/;
@import 'modules/table.css' /*layer(components)*/;

/* Core features */
Expand Down
13 changes: 13 additions & 0 deletions src/modules/lists.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
li {
margin: calc(var(--s) / 4) 0;
}

.menu li {
padding: var(--s) calc(var(--s) * 2);
margin: 0;
}

.menu,
.reset {
list-style: none;
margin: 0;
padding: 0;
/* add more on demand */
}
5 changes: 0 additions & 5 deletions src/modules/menu.css

This file was deleted.

8 changes: 0 additions & 8 deletions src/modules/utils.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,3 @@
.nowrap {
white-space: nowrap;
}

.menu,
.reset {
list-style: none;
margin: 0;
padding: 0;
/* add more on demand */
}

0 comments on commit 1e41ef8

Please sign in to comment.