Skip to content

Commit

Permalink
Plugins Scheduled Updates: Left-align the empty list layout (#94220)
Browse files Browse the repository at this point in the history
  • Loading branch information
taipeicoder authored Sep 9, 2024
1 parent c393d88 commit 692b14d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions client/blocks/plugin-scheduled-updates-common/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@

$brand-display: "SF Pro Display", sans-serif;

.plugins-update-manager:not(.plugins-update-manager-multisite) {
.empty-state {
max-width: 80%;
}
}

.plugins-update-manager,
.plugins-update-manager-multisite {
// Table cells style based on the screen size
Expand Down Expand Up @@ -81,7 +75,6 @@ $brand-display: "SF Pro Display", sans-serif;
}

.empty-state {
max-width: 50%;
text-align: left;
padding: 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const ScheduleListEmpty = ( props: Props ) => {
const { siteHasEligiblePlugins } = useSiteHasEligiblePlugins();

return (
<div className="empty-state empty-state__center">
<div className="empty-state">
<Text as="p">
{ ( () => {
if ( ! siteHasEligiblePlugins && canCreateSchedules ) {
Expand Down

0 comments on commit 692b14d

Please sign in to comment.