Skip to content

Commit

Permalink
Adjust spacing between accordion items
Browse files Browse the repository at this point in the history
  • Loading branch information
ollimeier committed Mar 6, 2025
1 parent bafc218 commit f7928d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src-js/views-fontinfo/src/panel-font-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ export class FontInfoPanel extends BaseInfoPanel {
}));
const customDataList = new CustomDataList(cutomDataController, customDataInfos);
const accordion = new Accordion();

accordion.appendStyle(`
#general {
padding-bottom: 1em;
}
`);
const accordionItems = [
{
label: translate("sources.labels.general"),
Expand Down
4 changes: 2 additions & 2 deletions src-js/views-fontinfo/src/panel-sources.js
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ class SourceBox extends HTMLElement {
gap: 0.5em;
align-items: start;
align-content: start;
padding-bottom: 2em;
padding-bottom: 1em;
}
.fontra-ui-font-info-sources-panel-line-metrics-hor {
Expand Down Expand Up @@ -1019,7 +1019,7 @@ function buildFontGuidelineList(controller) {

updateRemoveButton(labelList, addRemoveButton);

return html.div({ style: "display: grid; grid-gap: 0.3em; padding-bottom: 2em;" }, [
return html.div({ style: "display: grid; grid-gap: 0.3em; padding-bottom: 1em;" }, [
labelList,
addRemoveButton,
]);
Expand Down

0 comments on commit f7928d9

Please sign in to comment.