Skip to content

Commit 26ad7c5

Browse files
update image css
1 parent ad65c2d commit 26ad7c5

5 files changed

Lines changed: 11 additions & 31 deletions

File tree

-58.4 KB
Binary file not shown.

content/blog/what-i-listened-to-feb-26.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

css/index.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,3 +296,8 @@ header {
296296
margin-right: 1em;
297297
}
298298

299+
picture img {
300+
object-fit: contain;
301+
width: 100%;
302+
height: 100%;
303+
}

eleventy.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ export default async function(eleventyConfig) {
4646

4747
const block_ids = results.map(({ id }) => id)
4848

49-
// need to download the images of a page
50-
// because the link to the file won't work
51-
// (only temporary)
52-
5349
// passing notion client to the option
5450
const n2m = new NotionToMarkdown({
5551
notionClient: notion,

public/css/index.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,4 +484,10 @@ input[type="radio"]+label:before {
484484
.work__preview {
485485
padding-top: 1rem;
486486
width: 100%;
487+
}
488+
489+
picture img {
490+
object-fit: contain;
491+
width: 100%;
492+
height: 100%;
487493
}

0 commit comments

Comments
 (0)