Skip to content

Commit

Permalink
chore: move cards and remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
nightnei committed Sep 13, 2024
1 parent 4b13127 commit bdf656e
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 43 deletions.
2 changes: 1 addition & 1 deletion client/hosting/overview/components/hosting-overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import ActiveDomainsCard from 'calypso/hosting/overview/components/active-domain
import PlanCard from 'calypso/hosting/overview/components/plan-card';
import QuickActionsCard from 'calypso/hosting/overview/components/quick-actions-card';
import SiteBackupCard from 'calypso/hosting/overview/components/site-backup-card';
import SupportCard from 'calypso/hosting/server-settings/components/support-card';
import { isNotAtomicJetpack } from 'calypso/sites-dashboard/utils';
import { useSelector } from 'calypso/state';
import { getSelectedSite } from 'calypso/state/ui/selectors';
import SupportCard from './support-card';

import './style.scss';

Expand Down
31 changes: 0 additions & 31 deletions client/hosting/server-settings/github-deployments-card.tsx

This file was deleted.

12 changes: 1 addition & 11 deletions client/hosting/server-settings/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ $areas: sftp, site-backup, support, phpmyadmin, staging-site, restore-plan-softw
}

&__main-layout-col {
.card:not(.github-deployments-card) {
.card {
padding-left: 72px;

> .card-icon,
Expand Down Expand Up @@ -145,16 +145,6 @@ $areas: sftp, site-backup, support, phpmyadmin, staging-site, restore-plan-softw
margin-right: auto;
}

.github-deployments-card {
.banner__icons .banner__icon-no-circle {
margin-right: 13px;
}

.banner__action {
margin-right: 0;
}
}

.happiness-engineers-tray {
align-items: flex-start;
display: flex;
Expand Down

0 comments on commit bdf656e

Please sign in to comment.