File tree Expand file tree Collapse file tree 5 files changed +316
-24
lines changed
Expand file tree Collapse file tree 5 files changed +316
-24
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " jdh" ,
3- "version" : " 6.2.2 " ,
3+ "version" : " 6.2.3 " ,
44 "private" : true ,
55 "type" : " module" ,
66 "packageManager" : " yarn@4.12.0" ,
4545 "@visx/axis" : " ^1.3.0" ,
4646 "@visx/curve" : " ^1.0.0" ,
4747 "@visx/shape" : " ^1.3.0" ,
48+ "@visx/text" : " ^3.12.0" ,
4849 "@vitejs/plugin-react" : " ^4.3.4" ,
4950 "@vitejs/plugin-react-refresh" : " ^1.3.6" ,
5051 "@vitejs/plugin-rsc" : " ^0.5.9" ,
9798 "react-spring" : " ^9.1.2" ,
9899 "react-use-gesture" : " ^9.1.3" ,
99100 "react-window" : " ^1.8.5" ,
101+ "rollup" : " ^4.59.0" ,
100102 "sass" : " ~1.64.2" ,
101103 "source-map-explorer" : " ^2.4.2" ,
102104 "tabbable" : " ^6.2.0" ,
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const ArticleCellOutputsAsIframe = ({
5858 // text/html
5959 if ( output . data [ 'text/html' ] ) {
6060 if ( Array . isArray ( output . data [ 'text/html' ] ) ) {
61- acc . push ( ... output . data [ 'text/html' ] )
61+ acc = acc . concat ( output . data [ 'text/html' ] ) ;
6262 } else {
6363 acc . push ( output . data [ 'text/html' ] )
6464 }
Original file line number Diff line number Diff line change @@ -114,9 +114,11 @@ const Detail = ({ endpoint }) => {
114114 ''
115115 ) }
116116 </ div >
117- { contactFields . map ( ( { label, value } ) => (
118- < FieldRow key = { label } label = { label } value = { value } />
119- ) ) }
117+ < div className = "contact-info" >
118+ { contactFields . map ( ( { label, value } ) => (
119+ < FieldRow key = { label } label = { label } value = { value } />
120+ ) ) }
121+ </ div >
120122 </ SmallCard >
121123 < div className = "card-authors" >
122124 { authors . length > 0 ? (
Original file line number Diff line number Diff line change 2222 grid-template-columns : max-content max-content;
2323 align-items : center;
2424 justify-content : space-between;
25+ gap : var (--gap-size-1 );
2526}
2627
2728/* FieldRow css */
3132}
3233
3334.label {
34- text-align : left;
35+ text-align : right;
36+ margin-right : var (--gap-size-5 );
3537 min-width : 150px ;
3638 font-weight : bold;
3739}
8082 opacity : 0.6 ;
8183}
8284
83- /* AUTHOR */
84- .author-info {
85+ .contact-info {
8586 display : flex;
8687 flex-direction : column;
8788 gap : var (--gap-size-1 );
8889}
8990
90- .author-info > .item > .label {
91- min-width : 50px ;
91+ /* AUTHOR */
92+ .author-info {
93+ display : flex;
94+ align-items : start;
95+ flex-direction : column;
96+ gap : var (--gap-size-1 );
9297}
9398
9499.author-info > .item > .value {
95- margin-left : var (--gap-size-0 );
96- max-width : 150px ;
100+ flex-grow : 1 ;
97101}
98102
99103/* RESPONSIVE */
100-
101104@media (min-width : 2000px ) {
102105 .detail-grid {
103106 display : grid;
131134}
132135
133136/* Tablet or small screen view */
134- @media (max-width : 1200 px ) {
137+ @media (max-width : 1300 px ) {
135138 .detail-grid {
136139 display : grid;
137140 grid-template-areas :
160163 .author-info > .item > .value {
161164 margin-left : var (--gap-size-0 );
162165 max-width : 100% ;
166+ padding : 0 ;
163167 }
164168}
165169
169173 display : flex;
170174 flex-direction : column;
171175 gap : var (--gap-size-2 );
172- grid-template-areas :
173- 'i'
174- 'l'
175- 'c'
176- 'a'
177- 'a'
178- 'u' ;
179176 }
177+
180178 a {
181179 text-overflow : ellipsis;
182180 overflow : hidden;
You can’t perform that action at this time.
0 commit comments