Skip to content

Commit 5accd36

Browse files
committed
style: update fireblog ui
1 parent 912f1ee commit 5accd36

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

src/app/components/fireblog-page/fireblog-page.component.scss

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,29 @@
22

33
.fireblog-container {
44
padding-top: 2rem;
5-
flex: 1;
5+
height: 100vh;
6+
width: 100vw;
67
display: flex;
78
flex-direction: column;
89
background-color: transparent;
9-
height: 100%;
10-
overflow: hidden;
1110

1211
mat-sidenav-container {
1312
flex: 1;
13+
display: flex;
14+
width: 100%;
1415
overflow: hidden;
1516
}
1617

1718
mat-sidenav {
1819
width: 300px;
1920
padding: 1rem;
21+
background-color: white;
2022
}
2123

2224
mat-sidenav-content {
2325
display: flex;
24-
flex-direction: column;
25-
background-color: transparent;
26+
justify-content: center !important;
27+
2628
overflow: hidden;
2729

2830
.fireblog-content {
@@ -37,7 +39,7 @@
3739
padding: 1.25rem;
3840
padding-bottom: 7rem;
3941

40-
ul{
42+
ul {
4143
padding: 1.25rem 1.25rem 0 3rem;
4244
display: flex;
4345
flex-direction: column;

src/app/components/post-card/post-card.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@use '../../../partials/variables' as *;
22

33
.post-card {
4-
width: 37rem;
4+
width: 100%;
55
border-radius: 0.5rem;
66
background-color: #fff;
77
padding: 1.5rem;
@@ -11,7 +11,7 @@
1111

1212
&:hover {
1313
transform: scale(1.02);
14-
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
14+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
1515
}
1616

1717
.content {

0 commit comments

Comments
 (0)