Skip to content

Commit

Permalink
Merge pull request #159 from l0drex/beta
Browse files Browse the repository at this point in the history
v1.3.1
  • Loading branch information
l0drex authored Apr 8, 2023
2 parents c8adc7e + 965982f commit 4644351
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ function Header(props) {
<form id="open-file">
<input type="file" hidden ref={fileInput} accept="application/json"
onChange={() => parseFile(fileInput.current.files[0]).then(saveDataAndRedirect)}/>
<button className="icon-only" onClick={() => {
<button className="icon-only" onClick={e => {
e.preventDefault();
fileInput.current.click();
}}>📁
</button>
Expand Down
2 changes: 2 additions & 0 deletions src/components/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ function Article(props) {

function NavigationTutorial() {
return <Article title={strings.home.navigationArticle.title} emoji="🖥">
<p>
{strings.formatString(strings.home.navigationArticle.content,
<kbd>{strings.ctrl}</kbd>)}
</p>
</Article>
}

Expand Down
6 changes: 5 additions & 1 deletion src/components/InfoPanel.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ aside .title h2 {
padding-right: 0;
max-height: unset;
}

aside > * {
flex-grow: 0;
}

aside .title {
flex-basis: 0;
Expand All @@ -58,7 +62,7 @@ aside > article {
box-sizing: border-box;
background: var(--background);
box-shadow: inset 0 .25rem .25rem rgba(0, 0, 0, .33);
flex: 1 1 200px;
flex-basis: 200px;
}

article.gallery {
Expand Down

0 comments on commit 4644351

Please sign in to comment.