Skip to content

Commit 990051d

Browse files
committed
Fix viewBox
1 parent 92e279d commit 990051d

File tree

7 files changed

+8
-7
lines changed

7 files changed

+8
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-ide-interface",
3-
"version": "0.1.11",
3+
"version": "0.1.12",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/Button/Button.styles.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,5 @@ export const StyledButton = styled.button<StyledButtonProps>`
8484
width: 20px;
8585
height: 20px;
8686
opacity: 100%;
87-
viewBox: 0 0 20 20;
8887
}
8988
`;

src/components/Explorer/Explorer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ const Explorer = ({
392392
onClick={handleDeleteCurrentFile}
393393
title="Delete file"
394394
>
395-
<DeleteIcon viewBox="0 0 20 20"/>
395+
<DeleteIcon viewBox="0 0 .9375 .9375"/>
396396
</MenuButton>
397397
</>
398398
)}

src/components/FileEditor/FileEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ const FileEditor = ({
219219
onClick={handleSaveFile}
220220
title="Save File"
221221
>
222-
<SaveIcon viewBox="0 0 20 20"/>
222+
<SaveIcon viewBox="0 0 .9375 .9375"/>
223223
</MenuButton>
224224
<MenuButton
225225
id="zoom-in-button"

src/components/IdeInterface/IdeInterface.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const IdeInterface = ({
6161
const theme = useTheme();
6262

6363
if (splashIcon === undefined) {
64-
splashIcon = <StyledMonocolorSplashIcon color={theme.palette.primary} viewBox="0 0 20 20"/>;
64+
splashIcon = <StyledMonocolorSplashIcon color={theme.palette.primary} viewBox="0 0 200 200"/>;
6565
}
6666

6767
return (

src/components/Modals/Modal.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export const ModalTitlebar = ({
9595
>
9696
{hasBack && (
9797
<StyledModalBackButton
98+
viewBox="-2.4 -2.4 36 36"
9899
id="back-modal"
99100
onClick={() => {
100101
handleBack();
@@ -105,6 +106,7 @@ export const ModalTitlebar = ({
105106
<label htmlFor={htmlFor}>{title}</label>
106107
{hasClose && (
107108
<StyledModalCloseButton
109+
viewBox="0 0 20 20"
108110
id="close-modal"
109111
onClick={() => {
110112
handleClose();

src/components/Modals/NewFileModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const NewFileModal = ({
6565
const plain = new CardEntryProps(
6666
"plain",
6767
"plainType",
68-
<ActionTeplateIcon viewBox="0 0 20 20" fill={theme.palette.text} />,
68+
<ActionTeplateIcon viewBox="0 0 6.4 6.4" fill={theme.palette.text} />,
6969
"Plain File",
7070
);
7171
const actions = new CardEntryProps(
@@ -85,7 +85,7 @@ const NewFileModal = ({
8585
const action = new CardEntryProps(
8686
"action",
8787
"actionTemplate",
88-
<ActionTeplateIcon viewBox="0 0 20 20" fill={theme.palette.text} />,
88+
<ActionTeplateIcon viewBox="0 0 6.4 6.4" fill={theme.palette.text} />,
8989
"Action",
9090
);
9191
const io = new CardEntryProps(

0 commit comments

Comments
 (0)