mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 14:39:48 +00:00
style(icon): breathing room between search input and first content row
Add `pt-1` to `.cp__emoji-icon-picker > .bd` so the icon grid (and the "Recently used" header) doesn't sit flush against the search input. Asset-picker already had `py-1` on `.bd`, but its avatar-customize banner negates that margin to keep the expanded-state gradient flush against the topbar — add a 4px gap to the first `.pane-section` following the banner so the grid doesn't read crammed against the banner's bottom border.
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
}
|
||||
|
||||
> .bd {
|
||||
@apply flex-1 overflow-y-auto;
|
||||
@apply flex-1 pt-1 overflow-y-auto;
|
||||
@apply bg-gray-02;
|
||||
min-height: 0;
|
||||
|
||||
@@ -2049,6 +2049,14 @@
|
||||
--avatar-size: 56px;
|
||||
}
|
||||
|
||||
/* Customize banner sits flush against the search topbar by design (see
|
||||
`margin-top: -4px` above). The first content section that follows it,
|
||||
however, should get a tiny gap so the grid doesn't read crammed against
|
||||
the banner's bottom border. */
|
||||
.avatar-customize-zone + .pane-section {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
/* Whole-row click target. Invisible overlay sitting above the resting
|
||||
row so the entire avatar-customize-zone surface (edge to edge,
|
||||
including its 18px horizontal padding) is one accessible <button>.
|
||||
|
||||
Reference in New Issue
Block a user