Skip to content

Commit

Permalink
Refactor #4637
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Dec 21, 2023
1 parent 84f735e commit 23676e7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/lib/dialog/Dialog.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export interface DialogBreakpoints {
*
* @media screen and (max-width: ${breakpoint[key]}) {
* .p-dialog[attributeSelector] {
* width: ${breakpoint[value]};
* width: ${breakpoint[value]} !important;
* }
* }
*/
Expand Down
2 changes: 1 addition & 1 deletion components/lib/dialog/Dialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
`;
Expand Down
2 changes: 1 addition & 1 deletion components/lib/overlaypanel/OverlayPanel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export interface OverlayPanelBreakpoints {
*
* @media screen and (max-width: ${breakpoint[key]}) {
* .p-overlaypanel[attributeSelector] {
* width: ${breakpoint[value]};
* width: ${breakpoint[value]} !important;
* }
* }
*/
Expand Down
2 changes: 1 addition & 1 deletion components/lib/overlaypanel/OverlayPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
`;
Expand Down
2 changes: 1 addition & 1 deletion components/lib/toast/Toast.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 += `
Expand Down

0 comments on commit 23676e7

Please sign in to comment.