Shrink project search + decrease padding

This commit is contained in:
Piotr Osiewicz
2023-08-11 18:19:45 +02:00
parent e4c593c2fb
commit 0a0314eec9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1693,7 +1693,7 @@ impl ToolbarItemView for ProjectSearchBar {
.as_ref()
.map(|search| {
let offset = search.read(cx).filters_enabled as usize;
3 + offset
2 + offset
})
.unwrap_or_else(|| 2)
}
+1 -1
View File
@@ -34,7 +34,7 @@ export default function search(): any {
}
return {
padding: { top: 32, bottom: 32, left: 32, right: 32 },
padding: { top: 16, bottom: 16, left: 16, right: 16 },
// TODO: Add an activeMatchBackground on the rust side to differentiate between active and inactive
match_background: with_opacity(
foreground(theme.highest, "accent"),