Skip to content

Commit 2ca6957

Browse files
committed
style fixes for days
1 parent 7a2a7f8 commit 2ca6957

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

special-pages/pages/history/app/components/Sidebar.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ export function Sidebar({ ranges }) {
7979
<h1 class={styles.pageTitle}>{t('page_title')}</h1>
8080
<nav class={styles.nav}>
8181
{ranges.value.map((range) => {
82-
console.log(range.id, range.count);
8382
return (
8483
<Item
8584
key={range.id}
@@ -122,7 +121,7 @@ function Item({ current, range, onClick, onDelete, ranges, count }) {
122121
<div class={classNames} key={range}>
123122
<button
124123
aria-label={linkLabel}
125-
className={styles.link}
124+
class={styles.link}
126125
tabIndex={0}
127126
onClick={(e) => {
128127
e.preventDefault();

special-pages/pages/history/app/components/Sidebar.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
flex: 1;
6767
white-space: normal;
6868
text-align: left;
69+
text-transform: capitalize;
6970
}
7071

7172
.delete {

special-pages/pages/history/app/mocks/mock-transport.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ export function mockTransport() {
3636
{ id: 'yesterday', count: 1 },
3737
{ id: 'tuesday', count: 1 },
3838
{ id: 'monday', count: 1 },
39+
{ id: 'sunday', count: 1 },
40+
{ id: 'saturday', count: 1 },
3941
{ id: 'friday', count: 1 },
4042
{ id: 'older', count: 1 },
4143
],

0 commit comments

Comments
 (0)