Commit 4a7b3971 authored by Kuo Jen Wei's avatar Kuo Jen Wei Committed by Commit Bot

[CCA] Fix portrait mode option participate layout when hidden bug.

Bug: 994258
Test: Test on device without portrait mode, the mode selector should not
be scrollable.
Change-Id: Ic8a154a705b4bb62dafb296d11a9a3dd92149820

Change-Id: Ie3a79185a266f87abdace599944fc883965b770b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1818895
Commit-Queue: Kuo Jen Wei <inker@chromium.org>
Commit-Queue: Shik Chen <shik@chromium.org>
Auto-Submit: Kuo Jen Wei <inker@chromium.org>
Reviewed-by: default avatarShik Chen <shik@chromium.org>
Cr-Commit-Position: refs/heads/master@{#699247}
parent 354c778c
...@@ -259,11 +259,14 @@ div.mode-item>span { ...@@ -259,11 +259,14 @@ div.mode-item>span {
z-index: 0; z-index: 0;
} }
#modes-group.hide, #modes-group.hide {
.mode-item.hide {
visibility: hidden; visibility: hidden;
} }
.mode-item.hide {
display: none;
}
.mode-item>input { .mode-item>input {
height: 100%; height: 100%;
position: absolute; position: absolute;
......
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