Skip to content

Commit 7acc31f

Browse files
committed
make padding affect all sides + add title
1 parent 42e6209 commit 7acc31f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/css/style.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ body {
1919
}
2020

2121
body:not(.preload) {
22-
padding-top: calc(var(--gap) * 2);
23-
padding-bottom: calc(var(--gap) * 2);
22+
padding: calc(var(--gap) * 2);
2423
}
2524

2625
body:not(.preload) .preload {

assets/js/script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ window.addEventListener('load', () => {
33
const user = data[0]?.owner;
44
document.querySelector('.header img').src = user?.avatar_url;
55
document.querySelector('.header h1').textContent = user?.login;
6+
document.title = user?.login;
67

78
data.forEach(ver => {
89
const div = document.createElement('div');

0 commit comments

Comments
 (0)