diff --git a/components/RandomImage.js b/components/RandomImage.js index c053103..3b3ac66 100644 --- a/components/RandomImage.js +++ b/components/RandomImage.js @@ -42,12 +42,12 @@ function RandomImage(props) { return (
- + +
{loading && }
{photographer && } @@ -68,13 +68,19 @@ function RandomImage(props) { margin-bottom: 4px; } - span { + button { opacity: ${loading ? 0.5 : 1}; cursor: ${loading ? 'not-allowed' : 'pointer'}; user-select: none; + appearance: none; + border: none; + background: none; + color: inherit; + font-size: inherit; + padding: 0; } - [role='button']:focus { + button:focus { outline: none; text-decoration: underline; }