Skip to content

Commit

Permalink
Added padding to navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
josephlewis42 committed Sep 16, 2024
1 parent 1e5b6b6 commit 9ba1928
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/devdocs2zim/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
<head>
<title>{{title}}</title>
<link rel="stylesheet" type="text/css" href="{{rel_prefix | safe}}application.css" />
<style type="text/css">
/* Make the <details> tag based navigation match the look and feel of devdocs.io. */
._list-count, ._list-enable {
margin-right: .375rem;
}
._list-item {
padding: .25rem .25rem;

Check warning on line 19 in src/devdocs2zim/templates/page.html

View check run for this annotation

codefactor.io / CodeFactor

src/devdocs2zim/templates/page.html#L19

Expected ".25rem .25rem" to be ".25rem". (shorthand-property-no-redundant-values)
}
</style>
</head>
<body>
<div class="_app">
Expand Down

0 comments on commit 9ba1928

Please sign in to comment.