feat: improve loading state handling in LayoutWrapper and adjust ProfilePage layout
This commit is contained in:
+5
-1
@@ -227,12 +227,14 @@ a.btn-primary:visited {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
height: 100vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.main {
|
||||
flex: 1;
|
||||
max-width: 600px;
|
||||
min-width: 0;
|
||||
min-height: 100vh;
|
||||
border-right: 1px solid var(--border);
|
||||
}
|
||||
|
||||
@@ -240,9 +242,11 @@ a.btn-primary:visited {
|
||||
width: 320px;
|
||||
flex-shrink: 0;
|
||||
padding: 16px;
|
||||
padding-bottom: 32px;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
height: 100vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Post */
|
||||
@@ -1307,4 +1311,4 @@ a.btn-primary:visited {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user