Skip to content

Commit

Permalink
add border to control button
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Nov 16, 2021
1 parent a14642b commit d6e4d2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/components/animated-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ You can change the appearance and location of the control box by targeting the `
bottom: 1rem;
left: 1rem;
background-color: deeppink;
border: none;
color: white;
}
</style>
Expand Down
4 changes: 2 additions & 2 deletions src/components/animated-image/animated-image.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default css`
${componentStyles}
:host {
--control-box-size: 2.5rem;
--control-box-size: 3rem;
--icon-size: calc(var(--control-box-size) * 0.625);
display: inline-flex;
position: relative;
Expand Down Expand Up @@ -33,7 +33,7 @@ export default css`
height: var(--control-box-size);
font-size: var(--icon-size);
background: none;
border: none;
border: solid 2px currentColor;
background-color: rgb(var(--sl-color-neutral-1000) / 50%);
border-radius: var(--sl-border-radius-circle);
color: rgb(var(--sl-color-neutral-0));
Expand Down

0 comments on commit d6e4d2f

Please sign in to comment.