Refactor #4637
parent
84f735ef77
commit
23676e7381
|
@ -140,7 +140,7 @@ export interface DialogBreakpoints {
|
||||||
*
|
*
|
||||||
* @media screen and (max-width: ${breakpoint[key]}) {
|
* @media screen and (max-width: ${breakpoint[key]}) {
|
||||||
* .p-dialog[attributeSelector] {
|
* .p-dialog[attributeSelector] {
|
||||||
* width: ${breakpoint[value]};
|
* width: ${breakpoint[value]} !important;
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -267,7 +267,7 @@ export default {
|
||||||
innerHTML += `
|
innerHTML += `
|
||||||
@media screen and (max-width: ${breakpoint}) {
|
@media screen and (max-width: ${breakpoint}) {
|
||||||
.p-dialog[${this.attributeSelector}] {
|
.p-dialog[${this.attributeSelector}] {
|
||||||
width: ${this.breakpoints[breakpoint]};
|
width: ${this.breakpoints[breakpoint]} !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
|
@ -111,7 +111,7 @@ export interface OverlayPanelBreakpoints {
|
||||||
*
|
*
|
||||||
* @media screen and (max-width: ${breakpoint[key]}) {
|
* @media screen and (max-width: ${breakpoint[key]}) {
|
||||||
* .p-overlaypanel[attributeSelector] {
|
* .p-overlaypanel[attributeSelector] {
|
||||||
* width: ${breakpoint[value]};
|
* width: ${breakpoint[value]} !important;
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -281,7 +281,7 @@ export default {
|
||||||
innerHTML += `
|
innerHTML += `
|
||||||
@media screen and (max-width: ${breakpoint}) {
|
@media screen and (max-width: ${breakpoint}) {
|
||||||
.p-overlaypanel[${this.attributeSelector}] {
|
.p-overlaypanel[${this.attributeSelector}] {
|
||||||
width: ${this.breakpoints[breakpoint]};
|
width: ${this.breakpoints[breakpoint]} !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
|
@ -127,7 +127,7 @@ export default {
|
||||||
let breakpointStyle = '';
|
let breakpointStyle = '';
|
||||||
|
|
||||||
for (let styleProp in this.breakpoints[breakpoint]) {
|
for (let styleProp in this.breakpoints[breakpoint]) {
|
||||||
breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + ';';
|
breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + '!important;';
|
||||||
}
|
}
|
||||||
|
|
||||||
innerHTML += `
|
innerHTML += `
|
||||||
|
|
Loading…
Reference in New Issue