Skip to content

Commit

Permalink
making frame elements a bit smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
catdad committed Apr 27, 2024
1 parent dff95eb commit a4487ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions renderer/Frame/Frame.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
display: flex;
align-items: center;
justify-content: center;
font-size: 0.9rem;
}

.frame .frame-buttons {
Expand Down
8 changes: 5 additions & 3 deletions renderer/Frame/Frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ const Controls = () => {
return;
}

const fontSize = 18;

return html`<div class="frame-buttons">
<button onClick=${() => browser.minimize()}><${Minimize} /></button>
<button onClick=${() => browser.maximizeToggle()}><${Maximize} /></button>
<button onClick=${() => browser.close()}><${Close} /></button>
<button onClick=${() => browser.minimize()}><${Minimize} style=${{ fontSize }} /></button>
<button onClick=${() => browser.maximizeToggle()}><${Maximize} style=${{ fontSize }} /></button>
<button onClick=${() => browser.close()}><${Close} style=${{ fontSize }} /></button>
</div>`;
};

Expand Down

0 comments on commit a4487ec

Please sign in to comment.