Skip to content

Commit

Permalink
fix: figma matching
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinBuyck committed Jan 13, 2025
1 parent c02e2ad commit 0834a98
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion doorway-ui-components/src/forms/Field.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.doorway-field {
width: 100%;
margin: 0;
padding: 0 0 1.5rem 0;
font-size: 0.75rem;
font-weight: 500;

Expand Down
4 changes: 2 additions & 2 deletions sites/public/src/components/listings/search/LandingSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export function LandingSearch(props: LandingSearchProps) {
getValues={getValues}
defaultValue={formValues.monthlyRent}
placeholder="$"
className="doorway-field p-0 md:-mt-1"
className="doorway-field md:-mt-1"
inputClassName="typed-input"
labelClassName="input-label"
/>
Expand All @@ -192,7 +192,7 @@ export function LandingSearch(props: LandingSearchProps) {
register={register}
onChange={validateSearchInput}
defaultValue={formValues.propertyName}
className="doorway-field p-0 md:-mt-1"
className="doorway-field md:-mt-1"
inputClassName="typed-input"
labelClassName="input-label"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const rentStyle: React.CSSProperties = {
}

const propertySearchTitle: React.CSSProperties = {
paddingBottom: "var(--seeds-s4)",
paddingBlock: "var(--seeds-s4)",
}

const clearButtonStyle: React.CSSProperties = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export function ListingsSearchModal(props: ListingsSearchModalProps) {
getValues={getValues}
defaultValue={formValues.minRent}
placeholder={t("t.minPrice")}
className="doorway-field"
className="doorway-field pb-6"
inputClassName="rent-input"
labelClassName="input-label"
></Field>
Expand All @@ -308,7 +308,7 @@ export function ListingsSearchModal(props: ListingsSearchModalProps) {
getValues={getValues}
defaultValue={formValues.monthlyRent}
placeholder={t("t.maxPrice")}
className="doorway-field"
className="doorway-field pb-6"
inputClassName="rent-input"
labelClassName="input-label"
></Field>
Expand Down

0 comments on commit 0834a98

Please sign in to comment.