Skip to content

Commit

Permalink
Update: Use line-through in tracking status
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Jan 26, 2021
1 parent 2b93791 commit e68f6b4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 21 deletions.
4 changes: 3 additions & 1 deletion Resources/Private/Assets/CookieButton/src/CookieButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ class CookieButton extends Component {
onClick={this.toggleCookie}
>
<Icon icon="chart-pie" color={disabledPlausible ? "default" : "warn"} />
<span className={finalClassName}>{text}</span>
<span className={finalClassName}>
<span>{text}</span>
</span>
</Button>
);
}
Expand Down
12 changes: 3 additions & 9 deletions Resources/Private/Assets/CookieButton/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,9 @@

.disabled {
position: relative;
color: rgba(255, 255, 255, 0.5);
text-decoration: line-through;

&::after {
position: absolute;
content: "";
top: 50%;
left: 0;
right: 0;
background: #fff;
height: 1px;
span {
color: rgba(255, 255, 255, 0.5);
}
}
12 changes: 3 additions & 9 deletions Resources/Public/CookieButton/Plugin.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Resources/Public/CookieButton/Plugin.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Resources/Public/CookieButton/Plugin.js

Large diffs are not rendered by default.

0 comments on commit e68f6b4

Please sign in to comment.