Skip to content

Commit 6140637

Browse files
Bug/frontend jaf fixes (#410)
Co-authored-by: Prince Kumar <x.prince.x@outlook.com>
1 parent 487603f commit 6140637

2 files changed

Lines changed: 16 additions & 7 deletions

File tree

src/app/globals.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ body {
2020
color: rgb(var(--foreground-rgb));
2121
background: rgb(232, 232, 232);
2222
}
23+
24+
/* Removes square blue outline */
25+
.ant-select-single .ant-select-selection-search-input:focus {
26+
outline: none !important;
27+
box-shadow: none !important;
28+
}

src/components/JAF/JobDetails.tsx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ const JobDetails = ({
820820
}}
821821
maxLength={FIELD_LIMITS.JOB_TITLE_MAX}
822822
showCount
823-
className="rounded-md shadow-sm border-gray-300 text-xs md:text-sm"
823+
className="rounded-md shadow-sm border-gray-300 text-xs md:text-sm h-10"
824824
/>
825825
</Form.Item>
826826
</Col>
@@ -880,7 +880,7 @@ const JobDetails = ({
880880
}}
881881
maxLength={FIELD_LIMITS.LOCATION_MAX}
882882
showCount
883-
className="rounded-md shadow-sm border-gray-300 text-xs md:text-sm"
883+
className="rounded-md shadow-sm border-gray-300 text-xs md:text-sm h-10"
884884
/>
885885
</Form.Item>
886886
</Col>
@@ -909,7 +909,7 @@ const JobDetails = ({
909909
}}
910910
min={0}
911911
max={FIELD_LIMITS.HIRES_MAX}
912-
className="rounded-md shadow-sm border-gray-300 text-xs md:text-sm"
912+
className="rounded-md shadow-sm border-gray-300 text-xs md:text-sm h-10"
913913
/>
914914
</Form.Item>
915915
</Col>
@@ -1020,6 +1020,7 @@ const JobDetails = ({
10201020
help={getFieldError("skills")}
10211021
>
10221022
<Select
1023+
className="h-10"
10231024
mode="tags"
10241025
style={{
10251026
width: "100%",
@@ -1729,7 +1730,7 @@ const JobDetails = ({
17291730
</Form.Item>
17301731
</Col>
17311732
</Row> */}
1732-
<Row gutter={[16, 12]} className="md:gutter-24">
1733+
<Row gutter={[16, 12]} className="md:gutter-24 py-5">
17331734
<Col xs={24} md={12}>
17341735
<Form.Item
17351736
label={
@@ -1966,7 +1967,7 @@ const JobDetails = ({
19661967
value,
19671968
);
19681969
}}
1969-
className="rounded-md"
1970+
className="rounded-md h-10"
19701971
/>
19711972
</Form.Item>
19721973
</Col>
@@ -2829,7 +2830,7 @@ const JobDetails = ({
28292830
>
28302831
<Select
28312832
placeholder="Select accommodation provision"
2832-
className="rounded-md"
2833+
className="rounded-md h-10"
28332834
options={[
28342835
{
28352836
value: true,
@@ -2858,7 +2859,7 @@ const JobDetails = ({
28582859
>
28592860
<Select
28602861
placeholder="Select PPO provision"
2861-
className="rounded-md"
2862+
className="rounded-md h-10"
28622863
options={[
28632864
{
28642865
value: true,
@@ -3186,6 +3187,7 @@ const JobDetails = ({
31863187
help={getFieldError(`tests.${index}.type`)}
31873188
>
31883189
<Select
3190+
className="h-10"
31893191
placeholder="Select type"
31903192
options={testType}
31913193
showSearch
@@ -3345,6 +3347,7 @@ const JobDetails = ({
33453347
help={getFieldError(`interviews.${index}.type`)}
33463348
>
33473349
<Select
3350+
className="h-10"
33483351
placeholder="Select type"
33493352
options={interviewType}
33503353
showSearch

0 commit comments

Comments
 (0)