(html) Fix color picker height in Firefox
Solution was to wrap the grid content into a md-content.pull/101/head^2
parent
e4eef9b780
commit
7c86a43e48
|
@ -27,13 +27,15 @@
|
|||
' md-menu-origin="md-menu-origin">',
|
||||
' <md-icon style="color: #fff">color_lens</md-icon>',
|
||||
' </md-button>',
|
||||
' <md-menu-content class="md-padding" width="3" style="min-height: 200px">',
|
||||
' <md-grid-list class="sg-color-picker" md-cols="7" md-row-height="1:1" md-gutter="0.5em">',
|
||||
' <md-grid-tile ng-repeat="color in ::sgColors track by $index"',
|
||||
' ng-style="{ \'background-color\': color }"',
|
||||
' ng-class="{ selected: color == sgColor }"',
|
||||
' ng-click="setColor(color)"><md-icon ng-style="{ color: color }">check_box</md-icon></md-grid-tile>',
|
||||
' </md-grid-list>',
|
||||
' <md-menu-content width="3">',
|
||||
' <md-content class="md-padding">',
|
||||
' <md-grid-list class="sg-color-picker" md-cols="7" md-row-height="1:1" md-gutter="0.5em">',
|
||||
' <md-grid-tile ng-repeat="color in ::sgColors track by $index"',
|
||||
' ng-style="{ \'background-color\': color }"',
|
||||
' ng-class="{ selected: color == sgColor }"',
|
||||
' ng-click="setColor(color)"><md-icon ng-style="{ color: color }">check_box</md-icon></md-grid-tile>',
|
||||
' </md-grid-list>',
|
||||
' </md-content>',
|
||||
' </md-menu-content>',
|
||||
'</md-menu>'
|
||||
].join(''),
|
||||
|
|
Loading…
Reference in New Issue