Skip to content

Commit

Permalink
Fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
liambai committed Dec 3, 2024
1 parent b0d650e commit 83e4870
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion viz/src/SAEVisualizerPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const SAEVisualizerPage: React.FC = () => {
)}
</div>
{isDeadLatent && (
<div className="mt-3">This is a dead latent. It is active for no sequences.</div>
<div className="mt-3">This is a dead latent. It does not activate on any sequence.</div>
)}
<div className="mt-3">{dimToCuratedMap.has(selectedFeature) && desc}</div>
{SAEConfig?.supportsCustomSequence && <CustomSeqPlayground feature={selectedFeature} />}
Expand Down
4 changes: 2 additions & 2 deletions viz/src/components/CustomSeqPlayground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const CustomSeqPlayground = ({ feature }: CustomSeqPlaygroundProps) => {
const onStructureLoad = useCallback(() => setViewerState(PlaygroundState.IDLE), []);

return (
<div>
<div className="mb-6">
<div className="mt-5">
<SeqInput
input={proteinInput}
Expand Down Expand Up @@ -165,7 +165,7 @@ const CustomSeqPlayground = ({ feature }: CustomSeqPlaygroundProps) => {
</>
)}

{/* Once we have SAE activations, render the steering controls. Currently not supporting PDB ID inputs
{/* Once we have SAE activations, render the steering controls. Currently not supporting PDB ID inputs
because they may have multiple chains. */}
{isProteinSequence(proteinInput) &&
Object.keys(inputProteinActivations).length > 0 &&
Expand Down
2 changes: 1 addition & 1 deletion viz/src/components/SeqsViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default function SeqsViewer({ seqs, title }: SeqsViewerProps) {

return (
<>
<div className="flex items-center gap-4 mt-8 justify-between flex-wrap">
<div className="flex items-center gap-4 mt-2 justify-between flex-wrap">
{title && <h2 className="text-2xl font-semibold">{title}</h2>}
<div className="hidden sm:flex items-center gap-4">
<ToggleGroup
Expand Down

0 comments on commit 83e4870

Please sign in to comment.