getodk / getodk/docs

add inline-block and bottom margin to details toggler

Open
#729 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
58
Forks
160
Avg merge
5d 11h
Merged PRs (30d)
12

Description

I tried to add a bottom margin to these when I first set them up,
because they look bad with the current spacing.

I just discovered, while working on a similar feature in another project,
that you have to set `display: inline-block` on the toggler.

Then, add a `bottom-margin` equal to line height.

Contributor guide

Open the contributing guide

Research direction

Find the CSS or theme entry point that styles the details toggler, then inspect how the documentation is built with Sphinx. Update the toggler styling so it is inline-block with a bottom margin equal to the line height, and verify the rendered spacing in the documentation build.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.