* Fix inbox spacing

* css tidy up

* Task list and stats margin
This commit is contained in:
James Koster 2020-06-22 21:17:17 +01:00 committed by GitHub
parent 7c57978c7e
commit 612ded1cf5
4 changed files with 15 additions and 20 deletions

View File

@ -20,6 +20,7 @@
border-radius: 0;
border: 1px solid $core-grey-light-700;
box-shadow: none;
margin-bottom: $gap-large;
&:hover {
box-shadow: none;

View File

@ -29,20 +29,11 @@
}
.woocommerce-layout__inbox-panel-header {
padding: 15px 43px 10px;
h3 {
margin: 5px 0;
font-weight: 500;
}
span {
margin-left: 7px;
background: #40464d;
border-radius: 0.8em;
color: $core-grey-light-200;
display: inline-block;
text-align: center;
width: 1.6em;
font-size: 14px;
vertical-align: top;
h2.woocommerce-layout__activity-panel-header-title,
h3.woocommerce-layout__activity-panel-header-title {
margin: 0 0 $gap-small / 2;
font-size: 20px;
line-height: 28px;
font-weight: 400;
}
}

View File

@ -6,7 +6,7 @@
background: $core-grey-light-200;
border-radius: 2px;
@include font-size( 13 );
margin: 20px;
margin: 0 0 $gap-large;
-ms-box-orient: horizontal;
&.banner {
-webkit-flex-direction: column;
@ -186,7 +186,13 @@
}
}
#activity-panel-inbox {
margin: 0 $gap-large;
}
.woocommerce-layout__inbox-panel-header {
padding: $gap-large;
.woocommerce-homepage-column & {
padding: 0 24px;
}

View File

@ -11,6 +11,7 @@
.woocommerce-task-dashboard__container {
width: 100%;
margin-bottom: $gap-large;
}
&.hasInbox .woocommerce-homescreen-column {
@ -22,10 +23,6 @@
position: inherit;
top: auto;
}
& > * {
margin-bottom: 24px;
}
}
@include breakpoint( '<782px' ) {