Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@
--ifm-background-color: #141826;
}

/* Screenshots of a phone: not the full width of the page. */
/* Screenshots of a phone: not the full width of the page. Docusaurus writes
each image's own width and height on the tag; with only a max-height the
width attribute held, and a phone squashed to near square. Both auto
scale it as a whole. */
.markdown img {
width: auto;
height: auto;
max-width: 100%;
max-height: 520px;
border: 1px solid var(--ifm-color-emphasis-300);
border-radius: 8px;
Expand Down
Loading