Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit f20ada0

Browse files
authored
UX: adjust AI share styles for images and quotes (#567)
1 parent 8444789 commit f20ada0

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

public/ai-share/share.css

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,10 @@ h1 h2 h3 h4 h5 h6 {
316316
margin-bottom: 0.4em;
317317
}
318318

319+
.post__content blockquote p:last-child {
320+
margin-bottom: 0;
321+
}
322+
319323
.post__date {
320324
color: var(--primary-500);
321325
margin-left: auto;
@@ -338,6 +342,7 @@ details {
338342
background-color: var(--primary-50);
339343
border-radius: var(--border-radius-small);
340344
transition: background-color 0.3s ease;
345+
padding: 0.5em;
341346
}
342347

343348
details[open] {
@@ -402,15 +407,24 @@ li, p {
402407
word-break: break-word;
403408
}
404409

410+
.lightbox-wrapper img {
411+
width: 100%;
412+
height: auto;
413+
}
414+
415+
blockquote {
416+
background-color: var(--primary-50);
417+
border-left: 6px solid var(--primary-200);
418+
padding: 0.5em 1em;
419+
margin: 1em 0;
420+
}
421+
405422
.lightbox-wrapper .meta svg, .lightbox-wrapper .meta .informations {
406423
display: none;
407424
}
408425

409426
.lightbox-wrapper .meta .filename {
410-
display: -webkit-box;
411-
-webkit-line-clamp: 2;
412-
-webkit-box-orient: vertical;
413-
overflow: hidden;
427+
overflow-wrap: anywhere;
414428
}
415429

416430
/*

0 commit comments

Comments
 (0)