(html) Fix color picker height in Firefox

Solution was to wrap the grid content into a md-content.
pull/101/head^2
Francis Lachapelle 2015-11-17 15:15:39 -05:00
parent e4eef9b780
commit 7c86a43e48
1 changed files with 9 additions and 7 deletions

View File

@ -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(''),