Skip to content

Commit 60e02e7

Browse files
committed
fix: limit ASCII art width to prevent overflow
- Add max-width: 250px to robot mascot - Keep white-space: pre for ASCII art shape - Add overflow-x: hidden to clip overflow
1 parent 16166df commit 60e02e7

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

docs/_layouts/default.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,17 @@
3838
-webkit-font-smoothing: subpixel-antialiased;
3939
}
4040

41-
/* Robot mascot styling - ultra compact */
41+
/* Robot mascot styling - strict width limit */
4242
.robot-mascot {
4343
font-family: 'Courier New', monospace;
44-
font-size: 7px;
45-
line-height: 1.1;
44+
font-size: 8px;
45+
line-height: 1.2;
4646
white-space: pre;
4747
margin: 10px 0;
4848
color: #666;
49-
overflow: hidden;
49+
max-width: 250px;
50+
overflow-x: hidden;
51+
box-sizing: border-box;
5052
}
5153

5254
/* View on GitHub button */

0 commit comments

Comments
 (0)