Skip to content

Commit 47f4b73

Browse files
authored
Merge pull request #53 from humanmade/fix-dropdown-status-icon-styling
Fix styling of icon in publication checklist dropdown
2 parents a678e6b + a84e90e commit 47f4b73

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

inc/namespace.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
const INTERNAL_CHECKED_KEY = '__altis_publication_checklist_checked';
1010
const POSTS_COLUMN = 'altis_publication_checklist_status';
1111
const SCRIPT_ID = 'altis_publication_checklist';
12-
const VERSION = '0.4.5';
12+
const VERSION = '0.4.6';
1313

1414
/**
1515
* Bootstrap.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@humanmade/publication-checklist",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"description": "A simple, yet flexible publication checklist for WordPress.",
55
"author": "Human Made",
66
"license": "GPL-2.0-or-later",

plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Description: Ensure authors meet requirements before publishing.
55
* Author: Human Made
66
* Author URI: https://humanmade.com/
7-
* Version: 0.4.5
7+
* Version: 0.4.6
88
*/
99

1010
namespace Altis\Workflow\PublicationChecklist;

src/style.scss

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,18 @@
8585
&--to-complete .components-panel__body-title .components-button {
8686
--indicator-size: 0.8em;
8787

88+
align-items: center;
8889
position: relative;
8990

91+
svg {
92+
fill: #f97a14;
93+
height: 30px;
94+
margin-left: auto;
95+
width: 30px;
96+
}
97+
9098
&::before {
9199
content: '';
92-
display: inline-block;
93100
width: calc( var( --indicator-size ) + 0.5em );
94101
}
95102

@@ -108,6 +115,10 @@
108115
&--completed .components-panel__body-title .components-button::after {
109116
background: #3fcf8e;
110117
}
118+
119+
&--completed .components-panel__body-title .components-button svg {
120+
fill: #3fcf8e;
121+
}
111122
}
112123
}
113124

0 commit comments

Comments
 (0)