diff options
| author | Brian Cully <bjc@spork.org> | 2025-07-28 11:31:33 -0400 |
|---|---|---|
| committer | Brian Cully <bjc@spork.org> | 2025-07-28 11:31:33 -0400 |
| commit | 82e797c8b303393aa7d0b16787ec353b520dec44 (patch) | |
| tree | 1ffd7211fa383e1e2ab6262ff3652c0837805e28 /main.css | |
| parent | ba2a92120c56a5989f4f97b2d1450667ec16ad5e (diff) | |
| download | chords-82e797c8b303393aa7d0b16787ec353b520dec44.tar.gz chords-82e797c8b303393aa7d0b16787ec353b520dec44.zip | |
fix some css sizing issues in the fretboard
Diffstat (limited to 'main.css')
| -rw-r--r-- | main.css | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -40,18 +40,20 @@ body { x-string form { display: grid; - padding: 5px; cursor: pointer; list-style: none; - grid-template-rows: 1ex; + grid-template-rows: 26px; /* TODO: this should be put on the element when it's attached. */ - grid-template-columns: repeat(10, 1.5em); /* and use ‘fr’ */ + grid-template-columns: repeat(10, 26px); /* and use ‘fr’ */ +} + +x-string input { + padding: 0; + margin: 2px; } x-string input[type="checkbox"] { text-align: center; - width: 1em; - height: 1em; display: grid; grid-template-columns: subgrid; } @@ -65,8 +67,8 @@ x-string li { x-string .selected { border-left: 1px solid black; text-align: center; - margin: 0; - margin-left: 5px; + margin: 0 5px; + padding: 5px; } x-fretboard { |
