Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/emptyWidget.css

Issue 2878543004: [DevTools] Fix UI.EmptyWidget scrollbars (Closed)
Patch Set: [DevTools] Improve the UI.EmptyWidget scrolling Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/ui/emptyWidget.css
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/emptyWidget.css b/third_party/WebKit/Source/devtools/front_end/ui/emptyWidget.css
index 999f83fa414490b101acda4281c591a0c90a65b3..6c45cd78cca0198035b255949b870f4593a66276 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/emptyWidget.css
+++ b/third_party/WebKit/Source/devtools/front_end/ui/emptyWidget.css
@@ -5,15 +5,25 @@
*/
.empty-view {
+ flex-shrink: 0;
color: hsla(0, 0%, 65%, 1);
padding: 30px;
display: flex;
align-items: center;
justify-content: center;
+ flex-direction: column;
+}
+
+.empty-view-scroller {
overflow: auto;
}
+.empty-view h2 {
+ flex-shrink: 0;
+}
+
.empty-view p {
+ flex-shrink: 0;
white-space: initial;
line-height: 18px;
max-width: 300px;

Powered by Google App Engine
This is Rietveld 408576698