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

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

Issue 1128173007: [Effen] remove some redundant styles (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/framework/components/checkbox.dart ('k') | sky/framework/components/menu_item.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/floating_action_button.dart
diff --git a/sky/framework/components/floating_action_button.dart b/sky/framework/components/floating_action_button.dart
index 65dae6b82ca09746cf4ab3c2dce61f651f5e5c75..b16190f5a73901824a974ed5659bcab475a36575 100644
--- a/sky/framework/components/floating_action_button.dart
+++ b/sky/framework/components/floating_action_button.dart
@@ -11,17 +11,13 @@ class FloatingActionButton extends Component {
// TODO(abarth): We need a better way to become a container for absolutely
// positioned elements.
static final Style _style = new Style('''
- transform: translateX(0);
width: 56px;
height: 56px;
background-color: ${Red[500]};
border-radius: 28px;'''
);
static final Style _clipStyle = new Style('''
- transform: translateX(0);
position: absolute;
- display: flex;
- flex-direction: row;
justify-content: center;
align-items: center;
top: 0;
« no previous file with comments | « sky/framework/components/checkbox.dart ('k') | sky/framework/components/menu_item.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698