A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuematerial/vue-material/commit/c63b757 below:

allow custom value for mdHeight (#1522) · vuematerial/vue-material@c63b757 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+5

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+5

-2

lines changed Original file line number Diff line number Diff line change

@@ -90,7 +90,7 @@

90 90

mdCard: Boolean,

91 91

mdFixedHeader: Boolean,

92 92

mdHeight: {

93 -

type: Number,

93 +

type: [Number, String],

94 94

default: 400

95 95

},

96 96

mdSort: String,

@@ -180,7 +180,10 @@

180 180

},

181 181

contentStyles () {

182 182

if (this.mdFixedHeader) {

183 -

return `height: ${this.mdHeight}px;max-height: ${this.mdHeight}px`

183 +

const height = typeof this.mdHeight === 'number'

184 +

? `${this.mdHeight}px`

185 +

: this.mdHeight

186 +

return `height: ${height};max-height: ${height}`

184 187

}

185 188

},

186 189

contentClasses () {

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4