Skip to content

Commit 19f4e25

Browse files
committed
refactor: button in the header to make it responsive
1 parent 5b20fa1 commit 19f4e25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/styles/Header.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
padding: 20px;
1212
border: none;
1313
margin-top: 20em;
14-
margin-left: 60em;
14+
margin-left: calc(((100% - 270px) / 3) * 2);
1515
}
1616

1717
.header button:hover {
@@ -22,5 +22,5 @@
2222
padding: 20px;
2323
border: none;
2424
margin-top: 20em;
25-
margin-left: 60em;
25+
margin-left: calc(((100% - 270px) / 3) * 2);
2626
}

0 commit comments

Comments
 (0)