-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use CSS Modules for page-list component #414
Changes from 7 commits
75bb187
6b1066b
ca97a21
288fb4e
ac7b782
e8d1ae2
332d3b2
db8130e
959a037
5ee9cb7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* ===== List View ===== */ | ||
.page-list { | ||
table-layout: fixed; | ||
} | ||
|
||
.page-list>tbody>tr { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add a space between each selector like so? Same for each of the styles below. |
||
cursor: pointer; | ||
} | ||
|
||
.page-list>tbody>tr:hover { | ||
background-color: #eee; | ||
} | ||
|
||
.page-list>td { | ||
overflow-wrap: break-word; | ||
word-wrap: break-word; | ||
} | ||
|
||
.page-list>th[data-name="capture-date"] { | ||
width: 12%; | ||
} | ||
|
||
.page-list>th[data-name="site"] { | ||
width: 15%; | ||
} | ||
|
||
.page-list>th[data-name="page-name"] { | ||
width: 33%; | ||
} | ||
|
||
.page-list>th[data-name="url"] { | ||
width: 40%; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add a newline at the end of the file? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can have this formatted for you automatically if you add the EditorConfig plugin to your text editor: https://editorconfig.org |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can remove this comment at the top since the CSS is now scoped at the component level, thanks!