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

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

Issue 1027813002: Introduce Scaffold to Sky framework (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/drawer.dart ('k') | sky/framework/components/scaffold.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 fb92de923c81559b765249bd5062d3c26c055fa9..cb786d0742e9ee5c2374957b54bfa1619f6b3bf6 100644
--- a/sky/framework/components/floating_action_button.dart
+++ b/sky/framework/components/floating_action_button.dart
@@ -7,10 +7,9 @@ import 'material.dart';
import '../theme/colors.dart';
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('''
- position: absolute;
- bottom: 16px;
- right: 16px;
transform: translateX(0);
width: 56px;
height: 56px;
« no previous file with comments | « sky/framework/components/drawer.dart ('k') | sky/framework/components/scaffold.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698