Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
bchu1 committed Sep 26, 2024
1 parent 1de70a1 commit 9ed0fcc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export function ConfigureTomogramDownloadContent() {
selectedTomogram={tomogramToDownload}
allTomograms={allTomograms}
onSelectTomogramId={setTomogramId}
className="max-w-[450px]"
/>
) : (
<>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { TomogramTypeBadge } from 'app/components/TomogramTypeBadge'
import { useI18n } from 'app/hooks/useI18n'
import { TomogramV2 } from 'app/types/gqlResponseTypes'
import { getTomogramName } from 'app/utils/tomograms'
Expand All @@ -16,11 +17,14 @@ export function TomogramSelectorInputLabel({
}

return (
<div>
{getTomogramName(tomogram)}
<span className="text-sds-color-primitive-gray-500 ml-sds-xxs">
<div className="flex gap-sds-xxs">
<span className="shrink overflow-hidden text-ellipsis">
{getTomogramName(tomogram)}
</span>
<span className="text-sds-color-primitive-gray-500">
{t('unitAngstrom', { value: tomogram.voxelSpacing })}
</span>
{tomogram.isStandardized && <TomogramTypeBadge type="standard" />}
</div>
)
}

0 comments on commit 9ed0fcc

Please sign in to comment.