Commit 16da7bac authored by msramek's avatar msramek Committed by Commit bot

Two visual fixes in the MD Clear Browsing Data dialog

1. Change the footer color to that of secondary text (i.e. --paper-grey-600).
2. Replace the 12px bottom margin with padding, so that this 12px high area
   at the bottom becomes a part of the scrollable region.

Screenshot: https://screenshot.googleplex.com/aodmwFZfdrq

BUG=595580
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2191283002
Cr-Commit-Position: refs/heads/master@{#408817}
parent 78658b91
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#dialog .footer { #dialog .footer {
background-color: #fff; background-color: #fff;
color: var(--paper-grey-600);
} }
.row { .row {
...@@ -95,11 +96,15 @@ ...@@ -95,11 +96,15 @@
display: inline; display: inline;
} }
/* Cap the height on smaller screens to avoid unfavorable clipping. */ /* Cap the height on smaller screens to avoid unfavorable clipping.
* Replace the bottom margin with padding to avoid the gap between
* the scrollbar and the bottom separator. */
@media all and (max-height: 714px) { @media all and (max-height: 714px) {
.body { #dialog .body {
margin-bottom: 0;
max-height: 270px; max-height: 270px;
overflow-y: scroll; overflow-y: scroll;
padding-bottom: 12px;
} }
} }
</style> </style>
......
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