Skip to content

Commit

Permalink
чутка прибрался в коде стилей чекбоксов
Browse files Browse the repository at this point in the history
  • Loading branch information
lev committed Feb 9, 2022
1 parent 6580a74 commit 630c0a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/components/OrderForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function Checkboxes({checkboxes, setCheckbox}) {
/>
<span className={`check__box`}>
<p className={`check__box__price`}>
до {checkbox.name == 'Демонтаж старой таблички' ? 2990 : 6990}
{/*до {checkbox.name == 'Демонтаж старой таблички' ? 2990 : 6990} ₽*/}
</p>
</span>{checkbox.name}
</label>
Expand Down
22 changes: 1 addition & 21 deletions src/styles/inputs.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
justify-content: center;
align-items: center;
height: 6rem;
width: 20rem;
/*width: 20rem;*/
min-height: 66px;
min-width: 236px;
border-radius: 56px;
Expand All @@ -90,11 +90,6 @@
}

.check__input:checked + .check__box {
height: 6rem;
width: 20rem;
min-height: 66px;
min-width: 236px;
border-radius: 56px;
border-color: #FEC72E;
}

Expand All @@ -106,21 +101,11 @@


.check__input:checked:focus + .check__box {
height: 6rem;
width: 20rem;
min-height: 66px;
min-width: 236px;
border-radius: 56px;
border-color: #FEC72E;
}

.check__input:hover + .check__box,
.check__input:focus-visible + .check__box {
height: 6rem;
width: 20rem;
min-height: 66px;
min-width: 236px;
border-radius: 56px;
border-color: #FFFFFF;
}

Expand All @@ -130,11 +115,6 @@
}

.check__input:checked:focus-visible + .check__box {
height: 6rem;
width: 20rem;
min-height: 66px;
min-width: 236px;
border-radius: 56px;
border-color: #FEC72E;
outline: 5px solid #ffffff;
}
Expand Down

1 comment on commit 630c0a6

@ekbdev
Copy link
Contributor

@ekbdev ekbdev commented on 630c0a6 Feb 9, 2022

Choose a reason for hiding this comment

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

Deploy preview for eplates ready!

✅ Preview
https://eplates-274fqoetx-ekbdev.vercel.app
https://eplates-task-11-softChanges.vercel.app

Built with commit 630c0a6.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.