pull/4992/head
tugcekucukoglu 2023-12-21 10:56:38 +03:00
parent 84f735ef77
commit 23676e7381
5 changed files with 5 additions and 5 deletions

View File

@ -140,7 +140,7 @@ export interface DialogBreakpoints {
*
* @media screen and (max-width: ${breakpoint[key]}) {
* .p-dialog[attributeSelector] {
* width: ${breakpoint[value]};
* width: ${breakpoint[value]} !important;
* }
* }
*/

View File

@ -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;
}
}
`;

View File

@ -111,7 +111,7 @@ export interface OverlayPanelBreakpoints {
*
* @media screen and (max-width: ${breakpoint[key]}) {
* .p-overlaypanel[attributeSelector] {
* width: ${breakpoint[value]};
* width: ${breakpoint[value]} !important;
* }
* }
*/

View File

@ -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;
}
}
`;

View File

@ -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 += `