Skip to content

Commit

Permalink
Show scrollbars only if needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Sep 14, 2023
1 parent 536db19 commit 0871590
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/fontra/client/web-components/designspace-location.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class DesignspaceLocation extends UnlitElement {
display: grid;
grid-template-columns: 25% auto;
gap: 0.4em;
overflow: scroll;
overflow: auto;
}
.slider-label {
Expand Down
2 changes: 1 addition & 1 deletion src/fontra/views/editor/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ body {
display: flex;
flex-direction: column;
gap: 0.4em;
overflow: scroll;
overflow: auto;
padding-bottom: 0.4em;
}

Expand Down
2 changes: 1 addition & 1 deletion src/fontra/views/editor/panel-designspace-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ export default class DesignspaceNavigationPanel extends Panel {
const locationElement = html.createDomElement("designspace-location", {
style: `grid-column: 1 / -1;
min-height: 0;
overflow: scroll;
overflow: auto;
height: 100%;
`,
});
Expand Down

0 comments on commit 0871590

Please sign in to comment.