File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed
web/src/pages/Courts/CourtDetails Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ const CourtHeader = styled.h1`
36
36
` ;
37
37
38
38
const CourtInfo = styled . div `
39
- display: flex:
39
+ display: flex;
40
40
flex-direction: column;
41
41
gap: 16px;
42
42
@@ -71,13 +71,10 @@ const StyledCard = styled(Card)`
71
71
` ;
72
72
73
73
const StyledBreadcrumb = styled ( Breadcrumb ) `
74
- display: flex;
75
- margin-top: 12px;
76
74
align-items: center;
77
- ` ;
78
-
79
- const StyledBreadcrumbSkeleton = styled . div `
80
- margin-top: 12px;
75
+ button {
76
+ font-size: 16px;
77
+ }
81
78
` ;
82
79
83
80
const CourtDetails : React . FC = ( ) => {
@@ -102,13 +99,7 @@ const CourtDetails: React.FC = () => {
102
99
< CourtHeader >
103
100
< CourtInfo >
104
101
{ policy ? policy . name : < StyledSkeleton width = { 200 } /> }
105
- { items . length > 1 ? (
106
- < StyledBreadcrumb items = { items } />
107
- ) : (
108
- < StyledBreadcrumbSkeleton >
109
- < StyledSkeleton width = { 100 } />
110
- </ StyledBreadcrumbSkeleton >
111
- ) }
102
+ { items . length > 1 ? < StyledBreadcrumb items = { items } /> : < StyledSkeleton width = { 100 } /> }
112
103
</ CourtInfo >
113
104
< ButtonContainer >
114
105
< HowItWorks
You can’t perform that action at this time.
0 commit comments