Skip to content

Commit 3ffde40

Browse files
committed
try fix pub size
1 parent 66c29cd commit 3ffde40

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ yarn start
4747

4848
## TODO:
4949

50-
- minor fixes: dark mode mobile not working; pub width not working; mobile on click of people; better zod parsing
50+
- minor fixes: better zod parsing
5151

5252
- add Sheares!
5353
- add new publications: llama (rsc), evoxels, vulture, image rep (adv sci), hr-dv2 (adv int sys), BIL, prompt to protocol

src/components/Publications.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,10 @@ export const Publications = () => {
4949

5050
// 'map' takes each element in array and applies function to it, in our case this function returns a <li> element with publication component inside
5151
return (
52-
<div>
53-
<ul className="pub-list">
54-
{publications.map((pub, i) => (
55-
<li key={i}>{<PublicationComponent publicationData={pub} />}</li>
56-
))}
57-
</ul>
58-
</div>
52+
<ul className="pub-list">
53+
{publications.map((pub, i) => (
54+
<li key={i}>{<PublicationComponent publicationData={pub} />}</li>
55+
))}
56+
</ul>
5957
);
6058
};

src/styles.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
--toggle-h: 24px;
5252
--toggle-thumb-l: 18px;
5353
--toggle-thumb-offset: 3px;
54-
--pub-list-w: 80%;
54+
--pub-list-w: 70%;
5555
}
5656
}
5757

@@ -330,6 +330,7 @@ input:checked + .slider:before {
330330

331331
.pub-list {
332332
max-width: --var(--pub-list-w);
333+
padding-left: 0.75em;
333334
}
334335

335336
.pub-list, li a{

0 commit comments

Comments
 (0)