File tree Expand file tree Collapse file tree
apps/web/src/components/diffs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,8 +201,8 @@ const DIFF_VIEW_UNSAFE_CSS = `${DIFF_SURFACE_THEME_UNSAFE_CSS}
201201}
202202
203203/* Pierre clips file names with overflow: hidden for its start ellipsis. A 1em line box cuts off
204- descenders and the hover underline . Only the clipped names get room: 16px plus the header's
205- 12px of padding stays inside its 32px min-height, which diffHeaderHeight assumes. */
204+ descenders. Only the clipped names get room: 16px plus the header's 12px of padding stays
205+ inside its 32px min-height, which diffHeaderHeight assumes. */
206206[data-diffs-header] :is([data-title], [data-prev-name]) {
207207 line-height: 16px !important;
208208}
@@ -229,18 +229,12 @@ const DIFF_VIEW_UNSAFE_CSS = `${DIFF_SURFACE_THEME_UNSAFE_CSS}
229229
230230[data-title] {
231231 cursor: pointer;
232- transition:
233- color 120ms ease,
234- text-decoration-color 120ms ease;
235- text-decoration: underline;
236- text-decoration-color: transparent;
237- text-underline-offset: 2px;
232+ transition: color 120ms ease;
238233 font-family: var(--font-sans) !important;
239234}
240235
241236[data-title]:hover {
242237 color: color-mix(in srgb, var(--code-foreground) 84%, var(--primary)) !important;
243- text-decoration-color: currentColor;
244238}
245239
246240/* Expanding a file mounts its body all at once; easing it in matches the 200ms the app's
You can’t perform that action at this time.
0 commit comments