File tree Expand file tree Collapse file tree 4 files changed +16
-15
lines changed Expand file tree Collapse file tree 4 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 1
1
.layout-container {
2
2
display : flex;
3
3
flex-direction : column;
4
- min-height : calc (100 vh - 80 px );
4
+ min-height : calc (100 dvh - 160 px );
5
5
width : 100% ;
6
6
justify-content : center;
7
7
align-items : center;
Original file line number Diff line number Diff line change 3
3
justify-content : center;
4
4
align-items : center;
5
5
width : 100% ;
6
- min-height : calc (100 vh - 160px );
6
+ min-height : calc (100 dvh - 160px );
7
7
padding : 1rem ;
8
8
}
9
9
Original file line number Diff line number Diff line change 8
8
z-index : 100 ;
9
9
backdrop-filter : blur (10px );
10
10
justify-content : center;
11
+ align-items : center;
11
12
height : 80px ;
13
+ width : 100% ;
14
+ overflow : hidden;
12
15
}
13
16
14
17
: host ::ng-deep p-menubarsub {
24
27
background : transparent;
25
28
border : transparent;
26
29
color : white;
30
+ padding : 5px ;
31
+ border-radius : 0.5rem ;
27
32
}
28
33
29
34
a .fill-div {
@@ -38,14 +43,14 @@ a.fill-div {
38
43
font-family : "Poppins" , sans-serif;
39
44
font-weight : 100 ;
40
45
font-style : normal;
41
- }
46
+ }
42
47
43
- .poppins-bold {
48
+ .poppins-bold {
44
49
font-family : "Poppins" , sans-serif;
45
50
font-weight : 700 ;
46
51
font-style : normal;
47
- }
52
+ }
48
53
49
54
p .logo-font-size {
50
- font-size : 28 px ;
55
+ font-size : 1.5 rem ;
51
56
}
Original file line number Diff line number Diff line change 1
1
< p-menubar >
2
2
< ng-template pTemplate ="start ">
3
3
< div class ="pl-2 flex align-items-center " style ="cursor: pointer " [routerLink] ="['/matching'] ">
4
- < img src ="/logo.png " alt ="logo " style ="width: auto; height: 55px " />
4
+ < img src ="/logo.png " alt ="logo " style ="width: auto; height: 35px " />
5
5
< p class ="pl-2 mr-3 poppins-bold logo-font-size "> PeerPrep</ p >
6
6
</ div >
7
7
</ ng-template >
8
8
< ng-template pTemplate ="end ">
9
9
@if (user) {
10
10
< p-menu #menu [model] ="items " [popup] ="true " appendTo ="body "> </ p-menu >
11
- < p-button
12
- [label] ="user.username "
13
- (onClick) ="menu.toggle($event) "
14
- icon ="pi pi-user "
15
- class ="nav-dropdown "> </ p-button >
11
+ < p-button [label] ="user.username " (onClick) ="menu.toggle($event) " icon ="pi pi-user " class ="nav-dropdown " />
16
12
} @else {
17
- < div class ="flex flex-row gap-2 ">
13
+ < div class ="flex flex-row gap-2 p-2 ">
18
14
< p-button
19
15
label ="Login "
20
16
icon ="pi pi-sign-in "
21
17
class ="nav-dropdown min-w-max "
22
- routerLink ="account/login "> </ p-button >
18
+ routerLink ="account/login " / >
23
19
< p-button
24
20
label ="Sign Up "
25
21
icon ="pi pi-pen-to-square "
26
22
class ="nav-dropdown min-w-max "
27
- routerLink ="/account/register "> </ p-button >
23
+ routerLink ="/account/register " / >
28
24
</ div >
29
25
}
30
26
</ ng-template >
You can’t perform that action at this time.
0 commit comments