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

Unified Diff: sky/framework/components/menu_item.dart

Issue 1061163002: Remove all uses of display:block and display:inline-block. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: update one more usage Created 5 years, 8 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: sky/framework/components/menu_item.dart
diff --git a/sky/framework/components/menu_item.dart b/sky/framework/components/menu_item.dart
index f9fbec7885596ab14a820d889146bb4df77e0ec9..1539651c2be7981d748786e249f5d437cba6d072 100644
--- a/sky/framework/components/menu_item.dart
+++ b/sky/framework/components/menu_item.dart
@@ -11,6 +11,7 @@ class MenuItem extends ButtonBase {
static final Style _style = new Style('''
transform: translateX(0);
display: flex;
+ flex-direction: row;
align-items: center;
height: 48px;
-webkit-user-select: none;'''
@@ -19,6 +20,7 @@ class MenuItem extends ButtonBase {
static final Style _highlightStyle = new Style('''
transform: translateX(0);
display: flex;
+ flex-direction: row;
align-items: center;
height: 48px;
background: rgba(153, 153, 153, 0.4);

Powered by Google App Engine
This is Rietveld 408576698