|
152 | 152 | </div> |
153 | 153 | <div class="flex flex-col gap-6"> |
154 | 154 | <div class="rounded-lg border"> |
155 | | - <table class="table"> |
| 155 | + <table class="table table-fixed"> |
156 | 156 | <thead> |
157 | 157 | <tr> |
158 | | - <th class="w-2/5">Input</th> |
159 | | - <th class="w-2/5">Output</th> |
160 | | - <th class="whitespace-nowrap"> |
| 158 | + <th>Input</th> |
| 159 | + <th>Output</th> |
| 160 | + <th class="whitespace-nowrap" style="width: 140px"> |
161 | 161 | <div class="flex flex-row items-center gap-2"> |
162 | 162 | <span>Meets Spec</span> |
163 | 163 | <span class="font-normal"> |
|
168 | 168 | </span> |
169 | 169 | </div> |
170 | 170 | </th> |
171 | | - <th class="whitespace-nowrap">Judge Correct</th> |
| 171 | + <th class="whitespace-nowrap" style="width: 120px">Judge Correct</th |
| 172 | + > |
172 | 173 | </tr> |
173 | 174 | </thead> |
174 | 175 | <tbody> |
|
180 | 181 | {#if input_content.isJson} |
181 | 182 | <!-- eslint-disable svelte/no-at-html-tags --> |
182 | 183 | <pre |
183 | | - class="whitespace-pre-wrap">{@html input_content.value}</pre> |
| 184 | + class="whitespace-pre-wrap break-words">{@html input_content.value}</pre> |
184 | 185 | <!-- eslint-enable svelte/no-at-html-tags --> |
185 | 186 | {:else} |
186 | | - <pre class="whitespace-pre-wrap">{input_content.value}</pre> |
| 187 | + <pre |
| 188 | + class="whitespace-pre-wrap break-words">{input_content.value}</pre> |
187 | 189 | {/if} |
188 | 190 | </td> |
189 | 191 | <td class="py-2"> |
190 | 192 | {#if output_content.isJson} |
191 | 193 | <!-- eslint-disable svelte/no-at-html-tags --> |
192 | 194 | <pre |
193 | | - class="whitespace-pre-wrap">{@html output_content.value}</pre> |
| 195 | + class="whitespace-pre-wrap break-words">{@html output_content.value}</pre> |
194 | 196 | <!-- eslint-enable svelte/no-at-html-tags --> |
195 | 197 | {:else} |
196 | | - <pre class="whitespace-pre-wrap">{output_content.value}</pre> |
| 198 | + <pre |
| 199 | + class="whitespace-pre-wrap break-words">{output_content.value}</pre> |
197 | 200 | {/if} |
198 | 201 | </td> |
199 | 202 | <td class="py-2"> |
|
221 | 224 | <div class="flex items-center gap-1 justify-center"> |
222 | 225 | {#if is_row_aligned(row)} |
223 | 226 | <div |
224 | | - class="text-success w-5 h-5 tooltip tooltip-left" |
| 227 | + class="text-success w-5 h-5 tooltip tooltip-top" |
225 | 228 | data-tip="Our automated judge got this right!" |
226 | 229 | > |
227 | 230 | <CheckCircleIcon /> |
|
0 commit comments