Skip to content

Commit 2bd11aa

Browse files
committed
fixing loader and other stuff
1 parent 2b3259d commit 2bd11aa

4 files changed

Lines changed: 18 additions & 10 deletions

File tree

components/core/App.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ const App = (props) => {
105105
setShapeAction={setShapeAction} />
106106
{loading ? (
107107
<Loader
108-
style={{margin: '20% auto auto 42%'}}
108+
style={{position: 'absolute', top: '50%', left: '50%', transform: 'translate(-50%, -50%)'}}
109109
type="Circles"
110-
color="#eb3d86"
111-
height={300}
112-
width={300}
110+
color="rgba(var(--color-brand-rgb), 0.6)"
111+
height={200}
112+
width={200}
113113
/>
114114
) : (
115115
<ShapeList

components/utils/Header.js

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ const AppHeader = styled(Navbar)`
3737
width: 36px;
3838
}
3939
}
40+
41+
.navbar-collapse {
42+
flex-grow: unset !important;
43+
}
44+
45+
@media (min-width: 992px) {
46+
justify-content: space-between !important;
47+
}
4048
`;
4149

4250
const Logo = styled.h1`
@@ -189,11 +197,10 @@ const LoginBarBefore = styled.div`
189197
190198
@media (max-width: 991px) {
191199
justify-content: flex-end;
192-
border: solid 1px rgba(var(--color-neutral-10-rgb), 0.2);
193-
border-left-width: 0;
194-
border-right-width: 0;
195-
margin: 0.4rem 0;
196-
padding: 0.6rem 0;
200+
border-top: solid 1px rgba(var(--color-neutral-10-rgb), 0.2);
201+
margin: 0.4rem 0 0 0;
202+
padding: 0.8rem 0.8rem 0.4rem 0;
203+
flex-wrap: wrap !important;
197204
}
198205
`;
199206

components/utils/ShapeList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import { formatRelative } from "date-fns";
4444

4545
// Shape Listing Styled-Componentns
4646
const ShapeCards = styled.div`
47-
padding: 5rem 0 2rem 0;
47+
padding: 2rem 0 2rem 0;
4848
display: grid;
4949
grid-template-columns: repeat(3, minmax(240px, 1fr));
5050
grid-gap: 2rem;

styles/global.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
--color-brand-light: #9553ff;
44
--color-brand-dark: #491aa8;
55
--color-brand-rgb: 93, 33, 210;
6+
--color-brand-dark-rgb: #73, 28, 168;
67
--color-brand-secondary: #af21d2;
78
--color-brand-secondary-rgb: 175, 33, 210;
89
--color-brand-teritiary: #2445ff;

0 commit comments

Comments
 (0)