Respect contacts popover size
This commit is contained in:
parent
4c07a0782b
commit
f83de0a91c
2 changed files with 2 additions and 0 deletions
|
@ -226,6 +226,7 @@ impl CollabTitlebarItem {
|
||||||
ChildView::new(popover)
|
ChildView::new(popover)
|
||||||
.contained()
|
.contained()
|
||||||
.with_margin_top(titlebar.height)
|
.with_margin_top(titlebar.height)
|
||||||
|
.with_margin_left(titlebar.toggle_contacts_button.default.button_width)
|
||||||
.with_margin_right(-titlebar.toggle_contacts_button.default.button_width)
|
.with_margin_right(-titlebar.toggle_contacts_button.default.button_width)
|
||||||
.boxed(),
|
.boxed(),
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,6 +6,7 @@ export default function contactsPopover(theme: Theme) {
|
||||||
background: backgroundColor(theme, 300, "base"),
|
background: backgroundColor(theme, 300, "base"),
|
||||||
cornerRadius: 6,
|
cornerRadius: 6,
|
||||||
padding: { top: 6 },
|
padding: { top: 6 },
|
||||||
|
margin: { top: -6 },
|
||||||
shadow: popoverShadow(theme),
|
shadow: popoverShadow(theme),
|
||||||
border: border(theme, "primary"),
|
border: border(theme, "primary"),
|
||||||
width: 300,
|
width: 300,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue