Skip to content

Commit

Permalink
fix observablehq#201; separate adjacent buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Dec 11, 2021
1 parent e727f50 commit efbde54
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,13 @@ form.__ns__-toggle .__ns__-input {
line-height: normal;
}

/* Align the left edge of Button inputs. */
.__ns__ > button:first-of-type {
margin-left: 0;
.__ns__ button {
margin: 0;
}

/* Separate adjacent buttons. */
.__ns__ button ~ button {
margin-left: var(--length1);
}

.__ns__-textarea {
Expand Down

0 comments on commit efbde54

Please sign in to comment.