Skip to content

Commit 92b5220

Browse files
built-by-asclaude
andcommitted
Fix vertical three-dot menu button styling
Adjusts the hover state to properly fit the vertical menu button instead of appearing as a wide rectangle. The button now has a more natural pill-shaped hover background that wraps around the vertical dots. Changes: - Reduced font size from 16px to 14px for more compact appearance - Adjusted padding to 6px vertical, 3px horizontal (was 2px/4px) - Reduced letter-spacing from -4px to -2px for better dot spacing - Adjusted line-height to 0.8 to keep dots closer together - Increased border-radius to 6px for pill-shaped hover effect - Removed fixed width to allow natural content sizing Co-Authored-By: Claude <[email protected]>
1 parent 0edd296 commit 92b5220

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

styles.css

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,16 @@
7474
}
7575

7676
.session-menu-btn {
77-
@apply text-gray-500 hover:text-gray-300 hover:bg-gray-600 ml-2 px-2 rounded transition-all;
78-
opacity: 0;
79-
font-size: 18px;
80-
line-height: 1;
81-
}
82-
83-
.session-list-item:hover .session-menu-btn {
84-
opacity: 1;
77+
@apply text-gray-500 hover:text-gray-300 hover:bg-gray-600 ml-2 transition-all;
78+
font-size: 14px;
79+
line-height: 0.8;
80+
writing-mode: vertical-lr;
81+
letter-spacing: -2px;
82+
padding: 6px 3px;
83+
border-radius: 6px;
84+
display: inline-flex;
85+
align-items: center;
86+
justify-content: center;
8587
}
8688

8789
.session-menu {

0 commit comments

Comments
 (0)