You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by dg...@apache.org on 2021/02/01 08:08:30 UTC
[incubator-datalab] 03/03: [DATALAB-2233]: Fixed visibility of
action menu on small screen
This is an automated email from the ASF dual-hosted git repository.
dgnatyshyn pushed a commit to branch DATALAB-2246
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 4313d3f96721c096ea2524b30b8d10dcd8ff8890
Author: Dmytro_Gnatyshyn <di...@ukr.net>
AuthorDate: Mon Feb 1 08:53:32 2021 +0200
[DATALAB-2233]: Fixed visibility of action menu on small screen
---
.../src/app/resources/resources-grid/resources-grid.component.html | 2 +-
.../src/app/resources/resources-grid/resources-grid.component.scss | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
index 55199b1..ac7311b 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
@@ -163,7 +163,7 @@
|| (element.image === 'docker.datalab-jupyterlab' && element.status !== 'running' && element.status !== 'stopped') }">
</span>
- <bubble-up #actions class="list-menu" position="bottom-left" alternative="top-left">
+ <bubble-up #actions class="list-menu scrolling" position="bottom-left" alternative="top-left">
<ul class="list-unstyled" *ngIf="element.shape !== 'odahu cluster'">
<div class="active-items" *ngIf="element.status.toLowerCase() !== 'failed'
&& element.status !== 'terminating'
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
index 51d2f0d..50b7694 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
@@ -373,6 +373,7 @@ table.resources {
0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
border: none;
min-width: 190px;
+ max-height: calc(100vh / 2 - 70px);
}
.settings:not(.label-header) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org