Skip to content

Commit

Permalink
Added new embedded
Browse files Browse the repository at this point in the history
  • Loading branch information
gwicho38 committed Apr 11, 2024
1 parent b7395b8 commit d9a536d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions public/javascript/components/body-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ class BodyComponent extends HTMLElement {
});
};

content = `<iframe width="100%" height="100%" src="https://ambientweather.net/devices/public/5433c07a4d144ebbe63a450ecc7879e7?embed=true"></iframe>`;

content = `<iframe src="https://www.lexaloffle.com/bbs/widget.php?pid=picochill" allowfullscreen width="621" height="100%" style="border:solid; overflow:hidden"></iframe>`;

// Method to add child elements
addChild() {
Expand Down
5 changes: 2 additions & 3 deletions public/stylesheets/body-component.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
}

0 comments on commit d9a536d

Please sign in to comment.