This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make SOL layout responsive to the window changes
The current version of a SOL window layout have several downsides: -terminal content doesn't resize with the window changes -when opened in a separate window terminal content doesn't use full viewport space -when opened in a separate window terminal viewport takes only a small part of the window Screenshots with the problems descriptions are documented in the github issue: #125 This commit adds responsiveness to the SOL layout. The main SOL tab: -terminal content automatically resizes with the viewport changes The separate SOL window: -XTERM always use full terminal viewport space -terminal viewport width always equals window space width -terminal viewport automatically resizes on window size changes -terminal content automatically resizes with the viewport changes As SOL UI is resposive now, this commit also removes fixed size configurations for the SOL terminal via JSON 'customConsoleDisplaySize' variable. It is worth noting that in reality it wasn't really used anyway. Signed-off-by: Konstantin Aladyshev <[email protected]> Change-Id: Ia5d929e9a309281366a9d3119ac326ebd73c73f0
- Loading branch information
Showing
3 changed files
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<div class="serial-lan__wrapper"> | ||
<div id="terminal"></div> | ||
<div class="serial-lan__actions float-right"> | ||
<button class="btn btn-tertiary" ng-click="openTerminalWindow()" ng-show="showTabBtn === true"> | ||
<icon file="icon-launch.svg"></icon>Open in new tab | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="serial-lan__actions float-right"> | ||
<button class="btn btn-tertiary" ng-click="openTerminalWindow()" ng-show="showTabBtn === true"> | ||
<icon file="icon-launch.svg"></icon>Open in new tab | ||
</button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters