Skip to content

Commit

Permalink
Revert "Make the menu of font info and application settings sticky to…
Browse files Browse the repository at this point in the history
… the top left corner"

This reverts commit 3fdb762.
  • Loading branch information
ollimeier committed Oct 24, 2024
1 parent 454ba9f commit b72ddd6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 23 deletions.
12 changes: 1 addition & 11 deletions src/fontra/views/applicationsettings/applicationsettings.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
<script type="module" src="/web-components/plugin-manager.js"></script>
<script type="module" src="/core/theme-settings.js"></script>
<style>
:root {
--width-navi: 12em;
}
body {
overflow: scroll;
}
Expand All @@ -29,11 +26,6 @@
align-content: start;
gap: 1em;
padding: 2em 1em 2em 2em;
position: absolute;
height: 100%;
background: var(--background-color);
z-index: 1;
width: var(--width-navi);
}

.header {
Expand Down Expand Up @@ -62,9 +54,7 @@
}

#panel-container {
position: relative;
left: calc(var(--width-navi) + 2em);
width: calc(100vw - var(--width-navi) - 2em);
/* overflow: scroll; */
}
</style>
</head>
Expand Down
12 changes: 1 addition & 11 deletions src/fontra/views/fontinfo/fontinfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
<script type="module" src="/web-components/modal-dialog.js"></script>
<script type="module" src="/core/theme-settings.js"></script>
<style>
:root {
--width-navi: 12em;
}
body {
overflow: scroll;
}
Expand All @@ -27,11 +24,6 @@
align-content: start;
gap: 1em;
padding: 2em 1em 2em 2em;
position: absolute;
height: 100%;
background: var(--background-color);
z-index: 1;
width: var(--width-navi);
}

.header {
Expand Down Expand Up @@ -60,9 +52,7 @@
}

#panel-container {
position: relative;
left: calc(var(--width-navi) + 2em);
width: calc(100vw - var(--width-navi) - 2em);
/* overflow: scroll; */
}
</style>
</head>
Expand Down
2 changes: 1 addition & 1 deletion src/fontra/views/fontinfo/panel-sources.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ addStyleSheet(`
.fontra-ui-font-info-sources-panel-header.min-height,
.fontra-ui-font-info-sources-panel-source-box.min-height,
.fontra-ui-font-info-sources-panel-column.min-height {
height: 0;
height: 0px;
display: none;
}
Expand Down

0 comments on commit b72ddd6

Please sign in to comment.