Skip to content

Commit

Permalink
Apply multiplier to border size and padding
Browse files Browse the repository at this point in the history
  • Loading branch information
lmg-anon authored Aug 31, 2024
1 parent 91dad6f commit 6a22dde
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mikupad.html
Original file line number Diff line number Diff line change
Expand Up @@ -339,15 +339,15 @@
html.nockoffAI #probs {
background: var(--color-base-10);
border: 1px solid var(--token-prob-box);
border-radius: 4px;
border-radius: calc(4px * var(--font-size-multiplier));
box-shadow: none;
}
#probs > button {
cursor: pointer;
background: transparent;
color: var(--color-light);
border-radius: 0;
padding: 4px 8px;
padding: calc(4px * var(--font-size-multiplier)) calc(8px * var(--font-size-multiplier));
display: flex;
flex-direction: column;
flex: none;
Expand All @@ -357,12 +357,12 @@
background: var(--color-base-40);
}
#probs > button:first-child {
border-radius: 5px 0 0 5px;
padding-left: 6px;
border-radius: calc(5px * var(--font-size-multiplier)) 0 0 calc(5px * var(--font-size-multiplier));
padding-left: calc(6px * var(--font-size-multiplier));
}
#probs > button:last-child {
border-radius: 0 5px 5px 0;
padding-right: 6px;
border-radius: 0 calc(5px * var(--font-size-multiplier)) calc(5px * var(--font-size-multiplier)) 0;
padding-right: calc(6px * var(--font-size-multiplier));
}
#probs > button:hover {
background: var(--color-base-40);
Expand Down

0 comments on commit 6a22dde

Please sign in to comment.