Skip to content

Commit 1c7e7e3

Browse files
committed
style: ensure code blocks are fully responsive on mobile viewports
1 parent ab3f1dc commit 1c7e7e3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

assets/css/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ img, video {
327327
position: relative;
328328
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
329329
width: 100%;
330+
max-width: 100%;
330331
}
331332

332333
.code-block pre {
@@ -734,6 +735,7 @@ footer {
734735
margin-bottom: 1.5rem;
735736
color: #e2e8f0;
736737
width: 100%;
738+
max-width: 100%;
737739
}
738740

739741
.markdown-body pre code {

0 commit comments

Comments
 (0)