Skip to content

Commit 1a53a6d

Browse files
committed
Fine-tune hover panel positioning for improved UI alignment
- Adjusted left positioning of hover panel from -146px to -134px
1 parent b8daf6f commit 1a53a6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ function createStatRow(scope, label, contributor, repoPath) {
201201

202202
function createHoverPanelHTML({ contributor, repoPath, org }) {
203203
return `
204-
<div id="${ELEMENT_IDS.HOVER_PANEL}" class="position-absolute Box color-shadow-medium rounded-2 p-2" style="display: none; z-index: 100; top: 100%; left: -146px; min-width: 250px; margin-top: 4px;">
204+
<div id="${ELEMENT_IDS.HOVER_PANEL}" class="position-absolute Box color-shadow-medium rounded-2 p-2" style="display: none; z-index: 100; top: 100%; left: -134px; min-width: 250px; margin-top: 4px;">
205205
<!-- Stats rows -->
206206
${createStatRow("repo", "In this repo:", contributor, repoPath)}
207207
${createStatRow("org", "In this org:", contributor, org)}

0 commit comments

Comments
 (0)