Skip to content

Commit

Permalink
chore: Update share-button position, add Facebook network, and adjust…
Browse files Browse the repository at this point in the history
… popover position
  • Loading branch information
royalfig committed May 24, 2024
1 parent 218b4fd commit 10be08e
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,36 @@ button {


/* Modal */
[popover] {
opacity: 0;
transition: opacity 100ms ease-in, scale 100ms ease-in;
scale: 0.9;
}

:popover-open {
position: absolute;
max-width: min(100% - 16px, 31.25em);
height: fit-content;
padding: 0;
margin: 0;
font-family: inherit;
color: var(--color-element);
background-color: transparent;
filter: var(--filter);
border: none;
opacity: 1;
transition: opacity 100ms ease-out, scale 100ms ease-out;
scale: 1;
translate: -50% 0;
}

@starting-style {
:popover-open {
opacity: 0;
scale: 0.9;
}
}

.popover-inner {
position: relative;

Expand Down Expand Up @@ -193,8 +210,6 @@ button {
}
}



.social-media {
display: flex;
flex: 1;
Expand Down

0 comments on commit 10be08e

Please sign in to comment.