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

Unified Diff: sky/framework/elements/sky-menu-item.sky

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/elements/sky-menu-item.sky
diff --git a/sky/framework/elements/sky-menu-item.sky b/sky/framework/elements/sky-menu-item.sky
index 02a7c6f61a96869e73aa086df5c986c45bdda719..2bf7aa88db0fe58041d61a6debe75c662f0f58d0 100644
--- a/sky/framework/elements/sky-menu-item.sky
+++ b/sky/framework/elements/sky-menu-item.sky
@@ -12,12 +12,14 @@
<style>
:host {
display: flex;
+ flex-direction: row;
align-items: center;
height: 48px;
-webkit-user-select: none;
}
#background {
display: flex;
+ flex-direction: row;
align-items: center;
height: 100%;
flex: 1;

Powered by Google App Engine
This is Rietveld 408576698