diff --git a/public/javascript/components/body-component.js b/public/javascript/components/body-component.js index 25a91ec..237d623 100644 --- a/public/javascript/components/body-component.js +++ b/public/javascript/components/body-component.js @@ -28,8 +28,7 @@ class BodyComponent extends HTMLElement { }); }; - content = ``; - + content = ``; // Method to add child elements addChild() { diff --git a/public/stylesheets/body-component.css b/public/stylesheets/body-component.css index f441019..ba9bd8a 100644 --- a/public/stylesheets/body-component.css +++ b/public/stylesheets/body-component.css @@ -10,9 +10,8 @@ align-items: center; /* Center the flex items vertically */ height: 75vh; /* Set the height to 75% of the viewport height */ padding-top: 5vh; - margin-top: 5vh; padding-bottom: 1vh; - padding-left: 5vh; - padding-right: 5vh; + padding-left: 1vh; + padding-right: 1vh; box-sizing: border-box; /* Include padding and border in the element's total width and height */ }