Skip to content

Commit

Permalink
Wrap randomAvatars
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-r-bigelow committed Mar 31, 2024
1 parent 1aef411 commit afca6cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/randomAvatars.ojs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ peopleFile = FileAttachment("data/people.json").json();

/**
* An observable.js widget that shows profile pictures for ResBaz GitHub Team
* members; see index.qmd for examples
* members; see index.qmd for examples. Additionally, some relevant styles are
* in styles/index.css
*
* @param teamName A string that should correspond to the name of an entry in
* data/people.json, under data.organization.teams.nodes
* @returns A DOM element that can be embedded via an ojs cell
Expand Down
1 change: 1 addition & 0 deletions styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
}
.randomAvatars {
display: flex;
flex-wrap: wrap;
gap: 1em;
}
.randomAvatars img {
Expand Down

0 comments on commit afca6cb

Please sign in to comment.