Skip to content

Commit

Permalink
Reserve space for condition border to avoid redraw and column shift
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Ladyman committed May 5, 2024
1 parent b47879f commit c6b4db9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dnd-battle-tracker",
"version": "5.104.1",
"version": "5.104.2",
"private": true,
"dependencies": {
"@apollo/client": "^3.9.2",
Expand Down
5 changes: 2 additions & 3 deletions src/components/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,8 @@ label {

.condition [role="checkbox"] {
display: inline-block;
padding: 4px 8px;
padding: 3px 7px;
border: 1px solid transparent;
cursor: pointer;
border-radius: 15px;
margin-bottom: 8px;
Expand All @@ -750,15 +751,13 @@ label {
}

.condition [role="checkbox"]:hover {
padding: 3px 7px;
background-color: #EBE1AD;
border: 1px solid #822000;
box-shadow: 0 0 5px #979aa4;
outline: none;
}

.condition [role="checkbox"]:focus-within {
padding: 3px 7px;
background-color: #EBE1AD;
border: 1px solid #822000;
outline: 1px solid #822000;
Expand Down

0 comments on commit c6b4db9

Please sign in to comment.