Commit bf18e6e1 authored by Edward Jung's avatar Edward Jung Committed by Commit Bot

chrome://flags Fix disappearing content in very tall absolute positioned

layer

Switched to a relative positioned container.

Bug: 777348
Change-Id: I4dd615d2ae067481536ca5106b598345868be27c
Reviewed-on: https://chromium-review.googlesource.com/744204Reviewed-by: default avatarBernhard Bauer <bauerb@chromium.org>
Commit-Queue: Edward Jung <edwardjung@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512800}
parent d53727e2
...@@ -358,15 +358,16 @@ h2 { ...@@ -358,15 +358,16 @@ h2 {
.tab-content { .tab-content {
display: none; display: none;
left: 0;
line-height: 25px; line-height: 25px;
margin-top: -50px;
/* Bottom padding should be greater than evaluated height of needs-restart */ /* Bottom padding should be greater than evaluated height of needs-restart */
padding-bottom: 200px; padding-bottom: 200px;
padding-top: 24px; position: relative;
position: absolute; width: 200%;
top: -25px; }
width: 100%;
z-index: 0; .tabs li:nth-child(2) .tab-content {
margin-left: -100%;
} }
.selected .tab-content { .selected .tab-content {
......
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