summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-01-10 18:55:53 -0500
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-01-10 18:55:53 -0500
commitde636737c487f1ef54730c2f614458df79106005 (patch)
tree688979a88c7d2211f13edb91da7881f8af7b0230
parentba0858417272f4cc5ebbf495f5562413245240c3 (diff)
downloaddecky-bazzite-buddy-de636737c487f1ef54730c2f614458df79106005.tar.gz
decky-bazzite-buddy-de636737c487f1ef54730c2f614458df79106005.zip
full height w the sauce
-rwxr-xr-xsrc/index.tsx11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/index.tsx b/src/index.tsx
index cbef251..1ed365d 100755
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -4,12 +4,19 @@ import { FaGlobe } from "react-icons/fa"; // Example icon
function Content() {
return (
- <div style={{ width: "100%", height: "100%" }}>
+ <div
+ style={{
+ width: "100%",
+ height: "100vh", // Use the full viewport height
+ display: "flex",
+ flexDirection: "column",
+ }}
+ >
<iframe
src="https://github.com/ublue-os/bazzite/releases/" // Replace with your desired URL
style={{
+ flex: 1, // Ensures the iframe stretches to fill the parent container
width: "100%",
- height: "100vh",
border: "none",
}}
title="WebPage Viewer"