Skip to content

Commit

Permalink
Site Screenshots: Make loading spinner tiny
Browse files Browse the repository at this point in the history
Fixes #177
  • Loading branch information
ryelle committed Sep 25, 2023
1 parent 0cb9719 commit db7b4a4
Showing 1 changed file with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@
&:first-child {
flex: 4;
}

&.is-size-desktop .wporg-site-screenshot__loader {
--wporg-site-screenshot--loader--size: 100px;
}

&.is-size-mobile .wporg-site-screenshot__loader {
--wporg-site-screenshot--loader--size: 40px;
}
}

.is-section-site-hero & {
Expand Down Expand Up @@ -85,7 +77,6 @@
}

.wporg-site-screenshot__loader {
--wporg-site-screenshot--loader--size: 40px;
display: flex;
align-items: center;
justify-content: center;
Expand All @@ -95,9 +86,9 @@
content: "";
display: inline-block;
box-sizing: border-box;
height: var(--wporg-site-screenshot--loader--size);
width: var(--wporg-site-screenshot--loader--size);
border: calc(var(--wporg-site-screenshot--loader--size) * 0.1) solid;
height: 16px;
width: 16px;
border: 1.5px solid;
border-color:
var(--wp--custom--wporg-site-screenshot--border--color)
var(--wp--custom--wporg-site-screenshot--border--color)
Expand Down

0 comments on commit db7b4a4

Please sign in to comment.