Make prettier happy
This commit is contained in:
parent
116f9dd238
commit
275921ac70
|
@ -127,7 +127,7 @@ function getWidthAndHeight(placement, settings, isMobile) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (size === "fluid") {
|
if (size === "fluid") {
|
||||||
return { width: 'fluid', height: 'fluid' };
|
return { width: "fluid", height: "fluid" };
|
||||||
}
|
}
|
||||||
|
|
||||||
const sizeObj = {
|
const sizeObj = {
|
||||||
|
@ -285,14 +285,14 @@ export default AdComponent.extend({
|
||||||
|
|
||||||
@computed("width", "height")
|
@computed("width", "height")
|
||||||
adWrapperStyle(w, h) {
|
adWrapperStyle(w, h) {
|
||||||
if (w !== 'fluid') {
|
if (w !== "fluid") {
|
||||||
return `width: ${w}px; height: ${h}px;`.htmlSafe();
|
return `width: ${w}px; height: ${h}px;`.htmlSafe();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@computed("width")
|
@computed("width")
|
||||||
adTitleStyleMobile(w) {
|
adTitleStyleMobile(w) {
|
||||||
if (w !== 'fluid') {
|
if (w !== "fluid") {
|
||||||
return `width: ${w}px;`.htmlSafe();
|
return `width: ${w}px;`.htmlSafe();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue