diff --git a/experiments/trail/index.html b/experiments/trail/index.html index e4af99823..8e5cc9ed6 100644 --- a/experiments/trail/index.html +++ b/experiments/trail/index.html @@ -187,27 +187,26 @@ ); left: 0; display: flex; - align-items: center; + align-items: flex-end; justify-content: space-between; gap: 24px; pointer-events: auto; } .selector-group { - display: flex; - flex-wrap: wrap; + display: grid; + width: max-content; + grid-template-columns: max-content max-content; align-items: center; - gap: 18px; + gap: 8px 7px; } .selector-group-right { - justify-content: flex-end; + justify-items: stretch; } .selector { - display: flex; - align-items: center; - gap: 7px; + display: contents; color: var(--muted); font-size: 10px; font-weight: 500; @@ -215,6 +214,10 @@ text-transform: uppercase; } + .selector select { + width: 100%; + } + .cohort-selector { position: static; } @@ -284,26 +287,6 @@ background-color 140ms ease; } - #metric { - width: 170px; - } - - #shape { - width: 112px; - } - - #weight { - width: 116px; - } - - #angle { - width: 88px; - } - - #cohort { - width: 190px; - } - @media (hover: hover) and (pointer: fine) { select:hover { border-color: rgba(231, 220, 192, 0.3); @@ -367,6 +350,7 @@ } .selector { + display: block; gap: 5px; font-size: 10px; } @@ -382,12 +366,14 @@ calc(env(safe-area-inset-bottom) + 32px) ); left: -4px; - flex-wrap: wrap; + display: grid; + grid-template-columns: 170px 118px; + justify-content: start; gap: 8px; } .selector-group { - gap: 8px; + display: contents; } .selector > span { @@ -416,26 +402,6 @@ font-size: 12px; } - #metric { - width: 170px; - } - - #shape { - width: 98px; - } - - #weight { - width: 96px; - } - - #angle { - width: 76px; - } - - #cohort { - width: 118px; - } - .status { display: none; } @@ -504,10 +470,23 @@ +