Skip to content

Commit 6e805c1

Browse files
committed
Added a new class .wpr-notice-70 to limit the maximum width of the notice description to 70%.
- Updated the notice description div in the URLs table to include the new class for improved layout.
1 parent b47d488 commit 6e805c1

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

assets/css/wpr-admin.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3119,6 +3119,9 @@ div.wpr-tutorial-item {
31193119
.wpr-pma-notice .wpr-notice-container, .wpr-pma-notice p:first-child {
31203120
padding: 16px;
31213121
}
3122+
.wpr-pma-notice .wpr-notice-70 {
3123+
max-width: 70%;
3124+
}
31223125
.wpr-pma-notice .wpr-notice-description, .wpr-pma-notice p {
31233126
margin: 0;
31243127
}

assets/css/wpr-admin.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/components/_performanceUrlsTable.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
.wpr-notice-container, p:first-child{
77
padding: 2*$space;
88
}
9+
.wpr-notice-70 {
10+
max-width: 70%;
11+
}
912
.wpr-notice-description, p{
1013
margin: 0;
1114
}

views/settings/partials/performance-monitoring/urls-table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
?>
2929
<div class="<?php echo esc_attr( $wp_rocket_pm_quota_banner_class ); ?>" id="wpr-pma-quota-banner">
3030
<div class="wpr-notice-container">
31-
<div class="wpr-notice-description">
31+
<div class="wpr-notice-description wpr-notice-70">
3232
<?php
3333
printf(
3434
// Translators: %1$s = opening strong tag, %2$s = closing strong tag.

0 commit comments

Comments
 (0)