π OpenHands: AI-Driven Development
Fix vertical layout for browser (#135)
Engin Can Dince445f922819e
diff --git a/frontend/src/components/Browser.css b/frontend/src/components/Browser.cssindex 3ece670b8f..49c3a4afae 100644--- a/frontend/src/components/Browser.css+++ b/frontend/src/components/Browser.css@@ -1,11 +1,13 @@.url {- margin: 0.5rem;- padding: 0.5rem 1rem;- background-color: white;- border-radius: 2rem;- color: #252526;+ margin: 0.5rem;+ padding: 0.5rem 1rem;+ background-color: white;+ border-radius: 2rem;+ color: #252526;}.screenshot {- width: 100%;-}\ No newline at end of file+ width: 100%;+ max-height: calc(100vh - 100px); /* 100px is the height of the header */+ object-fit: cover;+}