From a20c5349c8049df7cfd94cf2227bd0cf58da01d4 Mon Sep 17 00:00:00 2001 From: Joy Serquina Date: Tue, 30 Apr 2024 20:55:56 +0000 Subject: [PATCH] fix(material/autocomplete): autocomplete panel top is cut off in landscape mode Fixes lint error from previous commit which fixes Angular Component's autocomplete panel top from being cut off when viewed in landscape mode. The previous max-height of the panel is more than the height of the panel from the top of the input when in the bottom half to the top of the device's screen. Fixes b/284148377 --- src/material/autocomplete/autocomplete.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/autocomplete/autocomplete.scss b/src/material/autocomplete/autocomplete.scss index 28710b2b02a3..b737fd4e3858 100644 --- a/src/material/autocomplete/autocomplete.scss +++ b/src/material/autocomplete/autocomplete.scss @@ -60,4 +60,4 @@ mat-autocomplete { div.mat-mdc-autocomplete-panel { max-height: 55vh; } -} \ No newline at end of file +}