Skip to content

Commit

Permalink
🐛 fix: fix gallery style
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Jun 25, 2023
1 parent 438cd1f commit dd17dad
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions javascript/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/pages/Content/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const GALLERY_DARK =
export const useStyles = createStyles(
({ css, token, stylish, isDarkMode }, { isPromptResizable }: { isPromptResizable: boolean }) => {
const galleryBackground = css`
flex: 1;
background: url(${isDarkMode ? GALLERY_DARK : GALLERY_LIGHT}) 0% 0% / 20px !important;
border: 2px solid ${token.colorBorderSecondary} !important;
border-radius: ${token.borderRadius}px !important;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export default (token: Theme) => {
}
.dark {
--checkbox-check: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='black' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
--checkbox-check: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='black' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
--radio-circle: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='black' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}
`;
Expand Down

0 comments on commit dd17dad

Please sign in to comment.