| Pokey Rule | e2a8c2f | 2025-04-23 15:09:25 +0100 | [diff] [blame] | 1 | html, |
| 2 | body { |
| 3 | height: 100%; |
| Pokey Rule | e2a8c2f | 2025-04-23 15:09:25 +0100 | [diff] [blame] | 4 | } |
| 5 | |
| 6 | body { |
| Pokey Rule | e2a8c2f | 2025-04-23 15:09:25 +0100 | [diff] [blame] | 7 | margin: 0; |
| Pokey Rule | e2a8c2f | 2025-04-23 15:09:25 +0100 | [diff] [blame] | 8 | display: flex; |
| Pokey Rule | e2a8c2f | 2025-04-23 15:09:25 +0100 | [diff] [blame] | 9 | } |
| Philip Zeyliger | 272a90e | 2025-05-16 14:49:51 -0700 | [diff] [blame] | 10 | |
| 11 | /* |
| 12 | * Import Monaco editor's Codicon font - this is critical for icons |
| 13 | * IMPORTANT: This font-face declaration MUST remain in global CSS. |
| 14 | * Chrome does not apply @font-face rules properly when they're inside shadow DOM. |
| 15 | * Do not move this to the sketch-monaco-view component despite it being used there. |
| 16 | */ |
| 17 | @font-face { |
| 18 | font-family: "codicon"; |
| 19 | font-display: block; |
| Autoformatter | 8c46362 | 2025-05-16 21:54:17 +0000 | [diff] [blame] | 20 | src: url("./monaco/min/vs/base/browser/ui/codicons/codicon/codicon.ttf") |
| 21 | format("truetype"); |
| Philip Zeyliger | 272a90e | 2025-05-16 14:49:51 -0700 | [diff] [blame] | 22 | } |
| philip.zeyliger | ffa94c6 | 2025-06-19 18:43:37 -0700 | [diff] [blame^] | 23 | |
| 24 | /* Print styles for full chat printing */ |
| 25 | @media print { |
| 26 | html, |
| 27 | body { |
| 28 | height: auto !important; |
| 29 | overflow: visible !important; |
| 30 | } |
| 31 | |
| 32 | body { |
| 33 | margin: 0; |
| 34 | padding: 0; |
| 35 | } |
| 36 | } |