Skip to content

Commit

Permalink
Make audio display smaller in the details preview to prevent jumping
Browse files Browse the repository at this point in the history
  • Loading branch information
thequilo committed Sep 3, 2024
1 parent e3a7535 commit c51d2a8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions meeteval/viz/visualize.css
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ code {
flex-wrap: wrap;
}

audio.info-value {
height: 1.5em;
}

.legend-element {
margin: 0 3px 0 3px;
padding: 0 0px 0 0;
Expand Down Expand Up @@ -164,6 +168,21 @@ i, .icon {
margin-right: 0px;
}

/* Make copy button same height as text in the details preview and hide any fancy formatting.
This prevents the view from jumping when a segment is selected*/
.info-value .copybutton {
height: 1em;
padding: 0 5px;
margin: 0;
border: none;
}

.info-value .copybutton i {
margin-right: 0px;
height: 1em;
font-size: .75em;
}

/* Plot elements */
.plot {
position: relative;
Expand Down

0 comments on commit c51d2a8

Please sign in to comment.