Skip to content

Commit

Permalink
Refactor LayerNameInput component to allow dynamic font size
Browse files Browse the repository at this point in the history
  • Loading branch information
obra committed Aug 30, 2024
1 parent a74ec62 commit 5053534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/screens/Editor/Sidebar/LayerNameInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const LayerNameInput = (props) => {
<InputBase
sx={{
flex: 1,
fontSize: "0.8rem",
fontSize: props.fontSize || "0.8rem",
"& input": {
padding: "0", // Minimizes padding to adjust for baseline alignment
margin: "0",
Expand Down

0 comments on commit 5053534

Please sign in to comment.