Skip to content

Commit

Permalink
Tweaked CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
tombreit committed Feb 20, 2025
1 parent 096bd89 commit f92f346
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/mkdocs_pagetree_plugin/assets/mkdocs_pagetree_plugin.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
font-size: unset !important;
}

button.pagetree-toggle,
select.pagestatus-select {
font-size: revert !important
}

.pagetree ul {
padding: 0 0 0 var(--caret-indent) !important;
}
Expand Down Expand Up @@ -53,7 +58,7 @@
display: inline-block;
width: 0.6em;
height: 1em;
margin: 0 0.5em 0 0;
margin: 0 0.4em 0 0;
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iLTIgMCAxMCAxMCI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiBkPSJtMSA5IDQtNC00LTQiLz48L3N2Zz4=');
background-size: contain;
background-position: left center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function insertCollapseExpandButton (pagetreeContainerElement, pagetreeElement,

function getPagestatusSelect (pageStatusesArray) {
const pagestatusSelectElem = `
<select name="pagestatus-select" id="pagestatus-select" class="md-button btn btn-primary btn-sm my-2">
<select name="pagestatus-select" id="pagestatus-select" class="pagestatus-select md-button btn btn-primary btn-sm my-2">
<option value="">Filter by page status</option>
${pageStatusesArray.map(status => `
<option value="${status}">Page status: ${status}</option>
Expand Down

0 comments on commit f92f346

Please sign in to comment.