Skip to content

Commit 384a4b4

Browse files
committed
Responsivness
1 parent eea3355 commit 384a4b4

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

packages/docs-gesture-handler/src/css/overrides.css

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,24 @@ table [class*='codeBlockContent'] code {
159159

160160
.codeHolder {
161161
width: 50%;
162-
/* border: 1px solid var(--swm-border); */
162+
}
163+
164+
@media (max-width: 996px) {
165+
.codeComparison{
166+
display: flex;
167+
flex-direction: column;
168+
margin-bottom: 20px;
169+
border: 1px solid var(--swm-border);
170+
}
171+
172+
.codeComparison .codeHolder:first-child {
173+
border-right: none;
174+
border-bottom: 1px solid var(--swm-border);
175+
}
176+
177+
.codeHolder {
178+
width: 100%;
179+
}
163180
}
164181

165182
/* Add small padding, when some of the lines are too long in a code block */

0 commit comments

Comments
 (0)