Skip to content

Commit d40a4d5

Browse files
committed
fix(web): PR file headers keep the file name in narrow panels
1 parent d60a71e commit d40a4d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/web/src/components/pullRequest/PullRequestCodeTab.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ function PullRequestCodeTab({
856856
</TooltipPopup>
857857
</Tooltip>
858858
) : (
859-
"Viewed"
859+
<span className="@max-xs:hidden">Viewed</span>
860860
)}
861861
</label>
862862
</span>
@@ -1501,7 +1501,7 @@ function PullRequestCodeTab({
15011501
// diff crosses the overflow boundary. The viewer is itself focusable for keyboard
15021502
// interaction, but its native host outline clips and competes with the focus
15031503
// indicators on its actual controls.
1504-
className="h-full overflow-auto [scrollbar-gutter:stable]"
1504+
className="@container h-full overflow-auto [scrollbar-gutter:stable]"
15051505
viewerRef={setViewer}
15061506
items={items}
15071507
selectedLines={selectedLines}

0 commit comments

Comments
 (0)