Skip to content

Commit

Permalink
fix: minor styling update
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinEberhardt committed May 10, 2018
1 parent e1263a9 commit 3c6c645
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "applause-button",
"description":
"A zero-configuration button for adding applause / claps / kudos to web pages and blog-posts",
"version": "1.0.0",
"version": "1.0.2",
"main": "dist/applause-button.js",
"license": "MIT",
"devDependencies": {
Expand Down
15 changes: 9 additions & 6 deletions client/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@
}

applause-button {
.style-root {
height: 100%;
position: relative;
position: relative;

.style-root {
@include position-fill();

&:after {
@include position-fill();
content: " ";
display: block;
@include position-fill();
border-radius: 50%;
border: 1px solid gray;
}
Expand All @@ -53,7 +54,9 @@ applause-button {
fill: none;
stroke: inherit;
stroke-width: 2px;
overflow: visible;
// annoyingly bootstrap has a higher precedence rule that sets overflow to hidden
// hence the bang-important
overflow: visible !important;
}

.count {
Expand All @@ -65,7 +68,7 @@ applause-button {
user-select: none;
}

.sparkle {
g.sparkle {
circle {
opacity: 0;
stroke-width: 0;
Expand Down

0 comments on commit 3c6c645

Please sign in to comment.