Skip to content

Commit

Permalink
move check ox text to after control for consistency with other controls
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyKilmory committed Apr 30, 2024
1 parent af161b4 commit 2d3e230
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
border: 1px solid grey;
display: inline-block;
background: white;
margin-left: 7px;
margin-right: 7px;
}

.custom-label-short {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ const MyUploads: React.FC<MyUploadsWrapperProps> = ({ props }) => {
<label className="custom-checkbox">
<input type="checkbox" checked={myUploads} onChange={handleCheckboxClick}/>
<div className="label-wrapper" >
<span className="custom-span"></span>
<span className="custom-label no-select">{MY_UPLOADS}</span>
<span className="custom-label-short no-select">{MY_UPLOADS_SHORT}</span>
<span className="custom-span"></span>
</div>
</label>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ const PermissionsFilter: React.FC<PermissionsWrapperProps> = ({ props }) => {
<label className="chargeable-checkbox">
<input type="checkbox" checked={isChargeable} onChange={handleToggle}/>
<div className="chargeable-label-wrapper" >
<span className="chargeable-label no-select">{SHOW_CHARGEABLE_SHORT}</span>
<span className="chargeable-span"></span>
<span className="chargeable-label no-select">{SHOW_CHARGEABLE_SHORT}</span>
</div>
</label>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ input:checked + .ts-slider:before {
border: 1px solid grey;
display: inline-block;
background: white;
margin-left: 4px;
margin-right: 7px;
}

[type=checkbox]:checked + .chargeable-label-wrapper .chargeable-span {
Expand Down

0 comments on commit 2d3e230

Please sign in to comment.