Commit 130124bd authored by Rafael Weinstein's avatar Rafael Weinstein

Remove box shadow on floating action button until ganesh fixes its bug

TBR=abarth

Review URL: https://codereview.chromium.org/975203002
parent 658f7707
part of widgets; part of widgets;
class FloatingActionButton extends StyleComponent { 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(''' static final Style _style = new Style('''
position: absolute; position: absolute;
display: flex; display: flex;
...@@ -12,8 +16,7 @@ class FloatingActionButton extends StyleComponent { ...@@ -12,8 +16,7 @@ class FloatingActionButton extends StyleComponent {
height: 56px; height: 56px;
background-color: #F44336; background-color: #F44336;
color: white; color: white;
border-radius: 28px; border-radius: 28px;'''
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);'''
); );
Style get style => _style; Style get style => _style;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment