Skip to content

Commit

Permalink
Merge pull request #3437 from LiteFarmOrg/LF-4426-days-of-the-week-co…
Browse files Browse the repository at this point in the history
…mponent-repeat-crop-plan-is-not-understandable-in-punjabi-or-hindi

Lf 4426 days of the week component repeat crop plan is not understandable in punjabi or hindi
  • Loading branch information
kathyavini authored Sep 13, 2024
2 parents 023db99 + 535d08c commit c75c452
Showing 1 changed file with 8 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@

.container {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-direction: row;
flex-wrap: wrap;
gap: 8px;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
width: 100%;
max-width: 312px;
}

/* Hide the browser's default Checkbox */
Expand All @@ -37,19 +36,12 @@

/* Create a custom Checkbox */
.checkmark {
position: relative;
height: 28px;
width: 28px;
background-color: var(--bgInputListTile);
border: solid 1px var(--grey400);
outline: solid 1px var(--grey400);
border-radius: 2px;
flex-shrink: 0;

min-width: 28px;
.dayLetter {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin: 0px 8px 0px 8px;
color: var(--grey400);
font-weight: 700;
font-family: 'Open Sans';
Expand All @@ -61,7 +53,7 @@
/* When the Checkbox is checked, add a green background */
.container input:checked + .checkmark {
background-color: var(--teal700);
border: none;
outline: none;

.dayLetter {
color: white;
Expand All @@ -83,4 +75,4 @@

.container input[disabled]:checked + .checkmark {
background-color: var(--teal500);
}
}

0 comments on commit c75c452

Please sign in to comment.