File tree Expand file tree Collapse file tree 3 files changed +17
-13
lines changed
Expand file tree Collapse file tree 3 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 1010 transition : background-color 0.2s ease;
1111
1212 & .item-controls {
13- width : 20% ;
14- display : flex;
15- flex-direction : column;
16- gap : 2rem ;
13+ max-width : 20% ;
14+ /* display: flex;
15+ gap: 1rem; */
16+
17+ & .icon {
18+ width : 20px ;
19+ padding : 0 ;
20+ }
1721 }
1822
1923 & new-tab {
6165
6266.item-actions {
6367 display : flex;
64- gap : 0.5rem ;
68+ max-width : 100% ;
69+ gap : 1rem ;
6570 flex-shrink : 0 ;
71+ flex-wrap : wrap;
72+ justify-content : flex-end;
6673}
6774
6875.btn-star {
Original file line number Diff line number Diff line change @@ -99,9 +99,7 @@ export const ItemRow:FunctionComponent<{
9999 star
100100 </ span >
101101 </ button >
102- </ div >
103102
104- < div class ="item-actions ">
105103 < button
106104 class ="icon "
107105 onClick =${ toggleRead }
Original file line number Diff line number Diff line change @@ -134,12 +134,11 @@ export const FeedReader:FunctionComponent<{
134134 ` }
135135
136136 ${ items . value . map ( item => html `
137- < li >
138- < ${ ItemRow }
139- key =${ item . id }
140- item=${ item }
141- state=${ state }
142- />
137+ < li key =${ item . id } >
138+ < ${ ItemRow }
139+ item =${ item }
140+ state=${ state }
141+ />
143142 </ li >
144143 ` ) }
145144
You can’t perform that action at this time.
0 commit comments