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