feat(WEB-162): final design for my profile page
This commit is contained in:
committed by
Christel Westerberg
parent
a7b04df7b6
commit
5f3e417593
@@ -2,26 +2,10 @@
|
||||
* Due to css import issues with parallell routes we are forced to
|
||||
* use a regular css file and import it in the page.tsx
|
||||
*/
|
||||
.profile-page {
|
||||
.profile-layout {
|
||||
background-color: var(--Main-Grey-White);
|
||||
border-radius: var(--Corner-radius-xLarge);
|
||||
display: grid;
|
||||
gap: 3rem;
|
||||
}
|
||||
|
||||
.profile-btns {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
justify-content: flex-end;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
/* Creates the 16px gap from design */
|
||||
top: -1.6rem;
|
||||
/* Moves itself to top of container to avoid calc */
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
|
||||
.profile-cards {
|
||||
display: grid;
|
||||
gap: 0.4rem;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: var(--Spacing-x4);
|
||||
padding: var(--Spacing-x3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user