Commit a88b5789 authored by Gayane Petrosyan's avatar Gayane Petrosyan Committed by Commit Bot

[NTP] Hide 'Customize' button for only very short windows.

Previously, the 'Customize' button was hidden for windows that are
shorter than the new customization dialog. Seems like this is too
aggressive. Only hide 'Customize' button to now overlap with OGB.

Bug: 981847, 972976, 972962, 972480, 959097
Change-Id: Ia335400c2ac8f77d8ffb645ebb82fee2e3f61c8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1692876Reviewed-by: default avatarKristi Park <kristipark@chromium.org>
Commit-Queue: Gayane Petrosyan <gayane@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675799}
parent 52d30818
......@@ -116,10 +116,7 @@ html[dir=rtl] #edit-bg {
}
}
/* If window height is less then the customization menu height, then hide the
* 'customize' button.
*/
@media (max-height: 528px) {
@media (max-height: 100px) {
#edit-bg {
display: none;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment