Make search entry rounded

This commit is contained in:
lo 2025-05-16 10:19:50 +03:00
parent 3904b62c2c
commit 5917b0ac36
2 changed files with 18 additions and 4 deletions

View file

@ -6,6 +6,14 @@
font-size: smaller;
}
.rounded-entry {
border-radius: 999px;
padding-left: 12px;
padding-right: 12px;
padding-top: 3px;
padding-bottom: 3px;
}
.searchbar .searchtag {
background-color: alpha(currentColor, 0.1);
border-radius: 100px;

View file

@ -74,10 +74,16 @@ template $MusicusSearchPage: Adw.NavigationPage {
}
}
Gtk.SearchEntry search_entry {
placeholder-text: _("Enter composers, performers, works…");
margin-top: 24;
activate => $select() swapped;
Adw.Clamp {
Gtk.SearchEntry search_entry {
placeholder-text: _("Enter composers, performers, works…");
margin-top: 24;
activate => $select() swapped;
styles [
"rounded-entry"
]
}
}
Gtk.Stack stack {