Skip to content

Commit 72765f9

Browse files
committed
fix(speeddial): remove default borderRadius. Should be handled by shape or css
1 parent 065eadb commit 72765f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/speeddial/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ export class SpeedDialItemTitle extends Button {
5050
this.verticalAlignment = 'middle';
5151
this.style['css:text-transform'] = 'none';
5252
this.style['css:background-color'] = defaultSpeedDialItemTitleBackgroundColor;
53-
this.style['css:ripple-color'] = defaultSpeedDialItemTitleRippleColor;
53+
// this.style['css:ripple-color'] = defaultSpeedDialItemTitleRippleColor;
5454
this.style['css:color'] = defaultSpeedDialItemTitleRippleColor;
5555
this.style['css:elevation'] = 1;
56-
this.style['css:border-radius'] = 6;
56+
// this.style['css:border-radius'] = 6;
5757
this.style['css:font-size'] = 10;
5858
this.style['css:min-width'] = 0;
5959
this.style['css:min-height'] = 0;
@@ -107,12 +107,12 @@ export class SpeedDialItem extends SpeedDialItemBase {
107107
// this.fabButtonTitle.style['css:elevation'] = 4;this.fabButtonTitle.style['css:elevation'] = 2;
108108
this.button.col = this.fabButtonCol;
109109
if (size === 'mini') {
110-
this.button.style['css:border-radius'] = 20;
110+
// this.button.style['css:border-radius'] = 20;
111111
this.button.style['css:width'] = 40;
112112
this.button.style['css:height'] = 40;
113113
this.button.style['css:margin'] = 16;
114114
} else {
115-
this.button.style['css:border-radius'] = 28;
115+
// this.button.style['css:border-radius'] = 28;
116116
this.button.style['css:width'] = 56;
117117
this.button.style['css:height'] = 56;
118118
this.button.style['css:margin'] = 16;

0 commit comments

Comments
 (0)