-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use CSS Modules for page-list component (#414)
This switches the page-list component from being a single `.jsx` file to being a directory with `.jsx` and `.css` files. Fixes #407.
- Loading branch information
1 parent
163854f
commit ee93baf
Showing
5 changed files
with
40 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.page-list { | ||
table-layout: fixed; | ||
} | ||
|
||
.page-list > tbody > tr { | ||
cursor: pointer; | ||
} | ||
|
||
.page-list > tbody > tr:hover { | ||
background-color: #eee; | ||
} | ||
|
||
.page-list > tbody > tr > td { | ||
overflow-wrap: break-word; | ||
word-wrap: break-word; | ||
} | ||
|
||
.page-list > tbody > tr > th[data-name="capture-date"] { | ||
width: 12%; | ||
} | ||
|
||
.page-list > tbody > tr > th[data-name="site"] { | ||
width: 15%; | ||
} | ||
|
||
.page-list > tbody > tr > th[data-name="page-name"] { | ||
width: 33%; | ||
} | ||
|
||
.page-list > tbody > tr > th[data-name="url"] { | ||
width: 40%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters