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

Unified Diff: sky/examples/fn/widgets/floating_action_button.dart

Issue 975203002: Remove box shadow on floating action button until ganesh fixes its bug (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/fn/widgets/floating_action_button.dart
diff --git a/sky/examples/fn/widgets/floating_action_button.dart b/sky/examples/fn/widgets/floating_action_button.dart
index d40e74cf313c2688e4f85e5b83541ab77443d671..cdb446b46e95a41f9f7309046eb595bd00ee3a66 100644
--- a/sky/examples/fn/widgets/floating_action_button.dart
+++ b/sky/examples/fn/widgets/floating_action_button.dart
@@ -1,6 +1,10 @@
part of widgets;
class FloatingActionButton extends StyleComponent {
+
+ // TODO(rafaelw): Ganesh has problems with box shadows
+ // box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
+
static final Style _style = new Style('''
position: absolute;
display: flex;
@@ -12,8 +16,7 @@ class FloatingActionButton extends StyleComponent {
height: 56px;
background-color: #F44336;
color: white;
- border-radius: 28px;
- box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);'''
+ border-radius: 28px;'''
);
Style get style => _style;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698