Skip to content

Commit

Permalink
Vertically center "Select File" text (#95)
Browse files Browse the repository at this point in the history
There were lots of trailing spaces that my editor automatically removed.  View with whitespace changes hidden.

Only actual change is line 378.
  • Loading branch information
chrischrischris authored Mar 28, 2024
1 parent f44d367 commit debec12
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions blocks/browse/da-browse/da-browse.css
Original file line number Diff line number Diff line change
Expand Up @@ -138,37 +138,37 @@ input, button {

/* CHECKBOX */
.checkbox-wrapper {
position: relative;
position: relative;
}

input[type="checkbox"] {
appearance: none;
position: absolute;
top: -4px;
left: -5px;
height: 20px;
width: 20px;
position: absolute;
top: -4px;
left: -5px;
height: 20px;
width: 20px;
}

.checkbox-label {
display: flex;
display: flex;
position: relative;
font-size: 20px;
font-size: 20px;
font-weight: 400;
align-items: center;
align-items: center;
justify-content: flex-start;
}

.checkbox-label:before,
.checkbox-label:before,
.checkbox-label:after {
pointer-events: none;
pointer-events: none;
}

.checkbox-label:before {
display: flex;
display: flex;
content: ' ';
height: 18px;
width: 18px;
height: 18px;
width: 18px;
border-radius: 2px;
background: rgb(221, 221, 221);
}
Expand Down Expand Up @@ -203,7 +203,7 @@ input[type="checkbox"] {
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-label:after {
opacity: 1;
opacity: 1;
transform: rotate(-45deg) scale(.8);
}

Expand Down Expand Up @@ -375,7 +375,7 @@ input[type="checkbox"] {
background: rgb(255, 255, 255);
border: 2px solid;
border-radius: 6px;
padding: 0px 8px;
padding: 4px 8px 0 8px;
color: rgb(6, 108, 231);
font-size: 0.85rem;
line-height: 20px;
Expand Down

0 comments on commit debec12

Please sign in to comment.