Skip to content

Commit

Permalink
Modify dashboard button, change text title case
Browse files Browse the repository at this point in the history
  • Loading branch information
Khadreal committed Aug 19, 2024
1 parent 9f06e64 commit 1f82fa0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion assets/css/wpr-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -1630,6 +1630,9 @@ div.wpr-upgrade-websites {
padding-right: 40px;
text-align: left;
}
.wpr-button--no-min-width{
min-width: auto;
}
.wpr-button--icon:before {
position: absolute;
right: 8px;
Expand Down Expand Up @@ -3099,4 +3102,4 @@ div.wpr-tutorial-item {
.wpr-field--categorizedmultiselect {
padding-right: 80px;
}
}
}
2 changes: 1 addition & 1 deletion inc/Engine/Common/PerformanceHints/Admin/AdminBar.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function add_clear_url_performance_hints_menu_item( WP_Admin_Bar $wp_admi

$action = 'rocket_clean_performance_hints_url';

$title = __( 'Clear performance hints data of this URL', 'rocket' );
$title = __( 'Clear Performance Hints data of this URL', 'rocket' );

$this->add_url_menu_item_to_admin_bar(
$wp_admin_bar,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
],
'expected' => [
'id' => 'clear-performance-hints-data-url',
'title' => 'Clear performance hints data of this URL',
'title' => 'Clear Performance Hints data of this URL',
],
],
];
2 changes: 1 addition & 1 deletion views/settings/sections/clean-section.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
[
'label' => $data['label'],
'attributes' => [
'class' => 'wpr-button wpr-button--icon wpr-button--small wpr-icon-trash',
'class' => 'wpr-button wpr-button--icon wpr-button--no-min-width wpr-button--small wpr-icon-trash',
'title' => $data['hover_text'],
],
]
Expand Down

0 comments on commit 1f82fa0

Please sign in to comment.