Skip to content

Commit

Permalink
Set search entry width to avoid overflowing menu
Browse files Browse the repository at this point in the history
  • Loading branch information
jonian authored and SUPERCILEX committed Oct 22, 2023
1 parent 81a46b3 commit 1a1f119
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class ClipboardIndicator extends PanelMenu.Button {
_buildMenu() {
this.searchEntry = new St.Entry({
name: 'searchEntry',
style_class: 'search-entry',
style_class: 'search-entry ci-history-search-entry',
can_focus: true,
hint_text: _('Search clipboard history…'),
track_hover: true,
Expand Down
4 changes: 4 additions & 0 deletions stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@
.ci-history-actions-section .popup-menu-ornament {
width: auto;
}

.ci-history-search-entry {
width: 5em;
}

0 comments on commit 1a1f119

Please sign in to comment.