[Bug]: Wrapped PR titles lose bottom padding in the thread details panel
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 72/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- react, typescript
- Bereich
- frontend
Rechercherichtung
Beginne im Bereich apps/web und verfolge die PR-Titelzeile und die Hover-Stile im Thread-Detailbereich. Achte dabei darauf, wie sich die vertikale Polsterung verhält, wenn ein Titel umbrochen wird. Vergleiche einen zweizeiligen Titel mit einem kurzen einzeiligen Titel bei der Breite des Bereichs. Fertig ist die Aufgabe, wenn umbrochene Titel oben und unten gleichmäßig Abstand haben und der Abstand bei einzeiligen Titeln unverändert bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
- Open a thread with a linked, open pull request that has a visible Merge action in the thread details panel.
- Use a PR title long enough to wrap to two lines at the current panel width. For example:
fix(web): preserve the selected thread when switching projects. - Hover the PR title.
- Observe the space above the first line and below the second line.
- Compare with a short, single-line title.
Expected behavior
Wrapped PR titles should retain balanced vertical spacing inside their hover background, with adequate breathing room below the second line.
Actual behavior
The wrapped title has noticeably more space above the text than below it. The second line sits close to the bottom edge of the hover background.
Below I included 6 screenshots that I personally tried to reproduce.
before refers to 058eea9246ff, the parent commit before #36528. After refers to 0516493a914c, the commit that landed #36528. Main refers to 2a411317d9b7, the origin/main revision tested.
I used short PR titles that fit in one line and longer titles that wraps.
before:
after:
main:
Measurements in CSS px, using the same wrapped title and capture settings.
Clearance is measured from the text line box to the control's border box.
Before #36528: 058eea9246ff
Top clearance: 7.75
Bottom clearance: 7.75
After #36528: 0516493a914c
Top clearance: 7.75
Bottom clearance: 1
Main: 2a411317d9b7
Top clearance: 7.75
Bottom clearance: 1
Single-line control: bottom clearance remains 8 px in all three revisions.
I suggest maintainer(s) or their agents try to reproduce again in case I am wrong.
Impact
Cosmetic issue
Version or commit
Observed on 0.1.11-nightly.20261119.4928; also reproduced at main commit 2a411317d9b7341547e5acb3e9bceb7e6195c5a2. Padding regression seemingly introduced by 0516493a914c193f548b6201463ba6d5f5ad9f70.
Environment
macOS 27.0.0 arm64, T3 Code Desktop with a local server. Comparison screenshots use isolated Chrome fixtures rendering the actual PR-row component and styles with mocked PR data, a 280 px panel, macOS system font, 18 px interface size, and DPR 2. Font and size are capture settings, not prerequisites for the report.
Logs or stack traces
Screenshots, recordings, or supporting files
before-single.png
after-single.png
before-double.png
after-double.png
main-single.png
main-double.png
Workaround
This is cosmetic issue and does not affect normal usage.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 24.8k
- Forks
- 6.4k
- Ø Merge
- 4 Std. 46 Min.
- Gemergte PRs (30 T.)
- 488
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus pingdotgg/t3code
-
bug needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
Maintainer antworten meist innerhalb von 1 Tag
-
[Bug]: Add provider can create a built-in driver's default instance, which has no delete actionEvtl. vergeben @nateEc hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
pingdotgg/t3code#38462 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in pingdotgg/t3code
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
solidjs/solid-docs#1716 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Progress indicated by console logs is off by oneEvtl. vergeben @marceliwac hat das heute übernommen. Offenbug needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
aws-samples/aws-cdk-examples#1336 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
melgarafael/DeskcommCRM#4999 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
type: bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
db-ux-design-system/core-web#8856 ·
Maintainer antworten meist innerhalb von 1 Tag