Skip to content

Commit b7f7a2a

Browse files
committed
fix: margin issues
1 parent acd2f8d commit b7f7a2a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/main.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ fn App() -> Html {
6464
let main_container_css = css! {
6565
display: flex;
6666
flex-direction: column;
67-
margin: 10px;
67+
margin-top: 20px;
68+
margin-left: 10px;
69+
margin-right: 10px;
70+
margin-bottom: 30px;
6871
};
6972
let content_container_css = css! {
7073
align-self: center;

src/pages/resume.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use yew::prelude::*;
44

55
const PDF_MIN_HEIGHT: &str = "500px";
66
const PDF_HEIGHT: &str = "100vh";
7-
const PDF_HEIGHT_PADDING: &str = "250px";
7+
const PDF_HEIGHT_PADDING: &str = "270px";
88
const PDF_MAX_HEIGHT: &str = "11in";
99
const PDF_WIDTH: &str = "100vw";
1010
const PDF_MAX_WIDTH: &str = "8.5in";

0 commit comments

Comments
 (0)