Skip to content

Commit

Permalink
Merge pull request #2056 from giovanniTramonto/fix-sidebar-cropping
Browse files Browse the repository at this point in the history
Fix tooltips in sidebars #2050
  • Loading branch information
justvanrossum authored Feb 27, 2025
2 parents 7157665 + ff319af commit 1a01bda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/fontra/client/css/tooltip.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
max-width: var(--tooltip-max-width);
font-size: 0.9rem;
font-weight: normal;
line-height: normal;
text-align: center;
position: absolute;
display: block;
Expand Down
4 changes: 1 addition & 3 deletions src/fontra/views/editor/panel-designspace-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,7 @@ export default class DesignspaceNavigationPanel extends Panel {
];

return html.div({ class: "panel" }, [
html.div({ class: "panel-section panel-section--flex panel-section--noscroll" }, [
this.accordion,
]),
html.div({ class: "panel-section panel-section--full-height" }, [this.accordion]),
]);
}

Expand Down
3 changes: 3 additions & 0 deletions src/fontra/views/editor/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ export default class Panel extends SimpleElement {
.panel-section--noscroll {
overflow: hidden;
}
.panel-section--full-height {
height: 100%;
}
`;

constructor(editorController) {
Expand Down

0 comments on commit 1a01bda

Please sign in to comment.