Skip to content

Commit 42124e6

Browse files
committed
fix scroll on zen
1 parent 6487727 commit 42124e6

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

portfolio/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
color: #E3DE61;
1515
display: flex;
1616
flex-direction: column;
17+
height: 100vh;
18+
margin: 0;
1719
overflow: hidden;
1820
}
1921

@@ -75,11 +77,10 @@
7577
.projects {
7678
direction: ltr;
7779
width: 1024px;
78-
height: 100%;
79-
overflow-y: scroll;
80+
flex: 1;
81+
overflow-y: auto;
8082
scrollbar-color: #2F5249 #437057;
8183
scrollbar-width: thin;
82-
flex: 1;
8384
}
8485

8586
li {

portfolio/ua.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@
1111
<!-- https://colorhunt.co/palette/2f524943705797b067e3de61 -->
1212
<style>
1313
body {
14-
font-family: "Tektur", monospace;
14+
font-family: "Kode Mono", monospace;
1515
font-size: large;
1616
background-color: #2F5249;
1717
color: #E3DE61;
1818
display: flex;
1919
flex-direction: column;
20+
height: 100vh;
21+
margin: 0;
2022
overflow: hidden;
2123
}
2224

@@ -75,14 +77,13 @@
7577
align-items: center;
7678
}
7779

78-
.projects {
80+
.projects {
7981
direction: ltr;
80-
width: 50%;
81-
height: 100%;
82-
overflow-y: scroll;
82+
width: 1024px;
83+
flex: 1;
84+
overflow-y: auto;
8385
scrollbar-color: #2F5249 #437057;
8486
scrollbar-width: thin;
85-
flex: 1;
8687
}
8788

8889
li {

0 commit comments

Comments
 (0)