Remove extra scroll bar from the SoL console menu
Two scroll bars are displayed on the right hand side of the SoL console
menu as the element exceeds the screen size. Fix removes the unwanted
scroll bar
Resolves openbmc/openbmc#3243
Tested: Running webui locally and verified that extra scroll bar is not
showing at the Serial over LAN (SoL) console menu
Change-Id: I25537f8007b81f698d396ef03d6c381e61806bd6
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
diff --git a/app/server-control/styles/remote-console.scss b/app/server-control/styles/remote-console.scss
index 103958a..c4dd9ac 100644
--- a/app/server-control/styles/remote-console.scss
+++ b/app/server-control/styles/remote-console.scss
@@ -13,7 +13,10 @@
width: 101%; //extra 1% to fix redraw issue with terminal window
height: 400px;
border: 1em solid #19273c;
- overflow: scroll;
+ //TODO: Need to move from hterm to xterm as iframe used is adding the extra
+ //scroll bar. Also need to rework on the height setting along with $window
+ //directive.
+ overflow-x: hidden;
}
.serial-lan__actions {
@@ -36,4 +39,4 @@
padding: 1.2em;
line-height: 0;
a {color: $black;}
-}
\ No newline at end of file
+}