Skip to content

Commit 122df5c

Browse files
committed
minor styling changes!
1 parent 1cf55ba commit 122df5c

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h1>PortableBridge</h1>
2828
<div class="tool-grid">
2929
<section class="panel input-panel" aria-label="PortableInfobox input">
3030
<div class="panel-head">
31-
<div>
31+
<div class="panel-head-details">
3232
<h2>Portable infobox</h2>
3333
<p>Paste <code>&lt;infobox&gt;</code> markup</p>
3434
</div>

styles.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ h2 {
163163

164164
.panel-head-details {
165165
flex: 1;
166+
167+
@media (max-width: 800px) {
168+
width: 100%;
169+
}
166170
}
167171

168172
.panel-head p,
@@ -212,6 +216,11 @@ input {
212216
color: var(--text);
213217
background: #0c0c0c;
214218
font-family: "Cascadia Code", monospace;
219+
word-break: break-all;
220+
221+
@media (max-width: 800px) {
222+
font-size: small;
223+
}
215224
}
216225

217226
textarea {
@@ -252,10 +261,10 @@ pre {
252261
padding: 2rem 0 0 0;
253262
}
254263

255-
@media (max-width: 900px) {
264+
@media (max-width: 800px) {
256265
.shell {
257266
width: min(100vw - 20px, 720px);
258-
padding: 10px 0;
267+
/* padding: 10px 0; */
259268
}
260269

261270
.intro,

0 commit comments

Comments
 (0)