File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 Spacer ,
99 StyleableFlexContainer ,
1010} from "./flex" ;
11- import { Subheading } from "./headings" ;
1211
1312const StepConnector = styled ( StyleableFlexContainer ) `
1413 position: relative;
@@ -113,8 +112,7 @@ export const ProgressStep = ({
113112 </ StepContainer >
114113 < Spacer />
115114 < FlexRowColumnContainer >
116- < Subheading text = { title } />
117-
115+ < h2 style = { { marginTop : "-0.2rem" } } > { title } </ h2 >
118116 { children }
119117 </ FlexRowColumnContainer >
120118 < Spacer /> < Spacer />
Original file line number Diff line number Diff line change 1- import { css } from "@emotion/core" ;
2- import styled from "@emotion/styled" ;
31import * as React from "react" ;
42import { useCallback } from "react" ;
53import { useFocus } from "../../hooks/use-focus" ;
64import { FormField } from "./form-field" ;
75import { TextField } from "@mui/material" ;
86
9- const FieldStyle = css `
10- width: 100%;
11- padding: 0.75rem 0.5rem;
12- font-size: 14px;
13- border: none;
14- ` ;
15-
16- const Area = styled . textarea `
17- ${ FieldStyle }
18- resize: vertical;
19- ` ;
20-
217/**
228 * The type of the text input.
239 */
@@ -63,7 +49,6 @@ export const TextInput = ({
6349 isDisabled = false ,
6450 name,
6551 description,
66- rows,
6752} : ITextInputProps ) => {
6853 const [ isFocused , onFocus , onBlur ] = useFocus ( autoFocus ) ;
6954 const fieldType = type || TextInputType . Text ;
@@ -92,23 +77,20 @@ export const TextInput = ({
9277 ) ,
9378 } ;
9479
95- const field =
96- fieldType === TextInputType . Area ? (
97- < Area { ...fieldProps } rows = { rows } />
98- ) : (
99- < div >
100- < TextField
101- style = { { marginTop : "0.5rem" } }
102- type = { fieldType }
103- id = "outlined-basic"
104- variant = "outlined"
105- label = { description }
106- fullWidth
107- focused = { isFocused }
108- { ...fieldProps }
109- />
110- </ div >
111- ) ;
80+ const field = (
81+ < div >
82+ < TextField
83+ style = { { marginTop : "0.5rem" } }
84+ type = { fieldType }
85+ id = "outlined-basic"
86+ variant = "outlined"
87+ label = { description }
88+ fullWidth
89+ focused = { isFocused }
90+ { ...fieldProps }
91+ />
92+ </ div >
93+ ) ;
11294
11395 return (
11496 < FormField title = { title } mandatory = { mandatory } >
Original file line number Diff line number Diff line change @@ -172,11 +172,17 @@ export const Sidebar = () => {
172172 < div style = { { bottom : "1rem" , position : "absolute" } } >
173173 < LI >
174174 < div style = { { display : "flex" , padding : "1rem" } } >
175- < img
176- style = { { borderRadius : "5rem" } }
177- height = { 50 }
178- src = { getGravatarUrl ( user ?. email ?? "" , "50" ) }
179- />
175+ < a
176+ href = "https://www.gravatar.com/"
177+ target = "_blank"
178+ rel = "noreferrer"
179+ >
180+ < img
181+ style = { { borderRadius : "5rem" } }
182+ height = { 50 }
183+ src = { getGravatarUrl ( user ?. email ?? "" , "50" ) }
184+ />
185+ </ a >
180186 < div
181187 style = { {
182188 padding : "0.8rem" ,
You can’t perform that action at this time.
0 commit comments