mirror of https://github.com/zulip/zulip.git
css: Increase max-height so that no element is partially visible.
I didn't want to use JS for it since calculating height based on item height before rendering the dropdown is expensive and after rendering the dropdown will cause it jump.
This commit is contained in:
parent
79b00d3c2a
commit
5156f465ef
|
@ -9,7 +9,7 @@ import {default_popover_props} from "./popover_menus";
|
|||
import {parse_html} from "./ui_util";
|
||||
|
||||
/* Sync with max-height set in zulip.css */
|
||||
export const DEFAULT_DROPDOWN_HEIGHT = 200;
|
||||
export const DEFAULT_DROPDOWN_HEIGHT = 210;
|
||||
const noop = () => {};
|
||||
|
||||
export function setup(tippy_props, get_options, item_click_callback, dropdown_props = {}) {
|
||||
|
|
|
@ -3079,7 +3079,7 @@ select.invite-as {
|
|||
|
||||
.dropdown-list-wrapper {
|
||||
/* Sync with `max-height` in dropdown_widget. */
|
||||
max-height: 200px;
|
||||
max-height: 210px;
|
||||
min-width: 200px;
|
||||
|
||||
.dropdown-list {
|
||||
|
|
Loading…
Reference in New Issue