Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Feb 15, 2023
1 parent 28c29e0 commit 73190cc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/App.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind utilities;

.stripybg {
width: 240px;
height: 240px;
background-color: #fff;
background-image: linear-gradient(0deg, transparent 99%, #eee 1%);
background-size: 60px 80px;
background-repeat: repeat;
}

.whitebg{
background-color: #fff;

}
4 changes: 4 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,11 @@ const SingleRow = ({ parsedSequence, rowStart, rowEnd, setHoveredInfo, rowId, se
>
{codon.aminoAcid}
</text>
{codon.start >2 &&
<text key={"bb"+j} x={codon.start*10} y={y-1} textAnchor="middle" fontSize="7" fillOpacity={0.4}>
{codon.codonIndex+1}
</text>
}

</>
);
Expand Down Expand Up @@ -728,6 +730,7 @@ function App() {
width: '100%',
position: 'relative',
}}
className="stripybg"
>
<div
style={{
Expand All @@ -739,6 +742,7 @@ function App() {
virtualItems[0].start - rowVirtualizer.options.scrollMargin
}px)`,
}}
className="whitebg"
>

{virtualItems.map((virtualitem) => {
Expand Down

1 comment on commit 73190cc

@vercel
Copy link

@vercel vercel bot commented on 73190cc Feb 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.