Skip to content

Commit

Permalink
make <Kink /> fully scalable
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelcmtd committed Jan 31, 2024
1 parent 9af6a5a commit 451de29
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/Kink.module.css
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
.tr {
border: 1px solid #303030;
border: 0.05em solid #303030;
}

.td {
padding-left: 8px;
padding-top: 2px;
padding-bottom: 2px;
padding-left: 0.375em;
padding-top: 0.094em;
padding-bottom: 0.094em;
position: relative;
}

.desc {
background-color: rgb(var(--cmblack));
color: white;
visibility: hidden;
width: 300px;
width: 30ch;
text-align: center;
border-radius: 8pt;
border-radius: 0.5em;
position: absolute;
z-index: 1;
top: 100%;
left: 0;
padding: 0.125em;
}

.td:hover .desc {
Expand Down

0 comments on commit 451de29

Please sign in to comment.