Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/components/HomepageFeatures/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@

.featureBackground::after {
content: "";
top: 0;
left: 0;
inset: 0;
z-index: -1;
height: 100%;
width: calc(100vw - (100vw - 100%));
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import styles from './index.module.css';

const INSTALL_COMMAND = 'npx svgo';

const onClick = async () => {
navigator.clipboard.writeText(INSTALL_COMMAND);
function onClick() {
navigator.clipboard?.writeText(INSTALL_COMMAND);
}

function HomepageHeader() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
@media (min-width: 997px) {
.expandButton {
position: absolute;
top: 0;
right: 0;
inset: 0;
width: 100%;
height: 100%;
display: flex;
Expand Down
12 changes: 0 additions & 12 deletions src/theme/Layout/index.js

This file was deleted.

11 changes: 11 additions & 0 deletions src/theme/Root.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';
import SpriteSheet from '../components/SpriteSheet';

export default function Root({ children }) {
return (
<>
<SpriteSheet />
{children}
</>
);
}
2 changes: 1 addition & 1 deletion src/vectors/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading