summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaladox none <thomasmulhall410@yahoo.com>2021-06-29 21:12:05 +0000
committerPaladox none <thomasmulhall410@yahoo.com>2021-07-02 13:38:19 +0000
commitf500af8500d81710b2ba0fa83779ee887ec9ee2b (patch)
tree7e6b449dd8566ff5392994db05a5d66d8f36ff94
parentd0d57a2c27c0a1ce11a35f73949cd021f113ffd9 (diff)
gr-download-commands: Make shell commands responsive accross screen sizes
Change-Id: I1431c35857efa964042c46a48e53f446976853b5 (cherry picked from commit bfe52b70c9347b4e6c7c8c85cbdff0bdc8057ef2)
-rw-r--r--polygerrit-ui/app/elements/change/gr-download-dialog/gr-download-dialog_html.js3
-rw-r--r--polygerrit-ui/app/elements/shared/gr-download-commands/gr-download-commands_html.js1
2 files changed, 3 insertions, 1 deletions
diff --git a/polygerrit-ui/app/elements/change/gr-download-dialog/gr-download-dialog_html.js b/polygerrit-ui/app/elements/change/gr-download-dialog/gr-download-dialog_html.js
index 9569c037a9..0a118d6c0c 100644
--- a/polygerrit-ui/app/elements/change/gr-download-dialog/gr-download-dialog_html.js
+++ b/polygerrit-ui/app/elements/change/gr-download-dialog/gr-download-dialog_html.js
@@ -63,6 +63,9 @@ export const htmlTemplate = html`
.hidden {
display: none;
}
+ gr-download-commands {
+ width: min(80vw, 1200px);
+ }
</style>
<section>
<h3 class="title">
diff --git a/polygerrit-ui/app/elements/shared/gr-download-commands/gr-download-commands_html.js b/polygerrit-ui/app/elements/shared/gr-download-commands/gr-download-commands_html.js
index 7248e65faa..599fdf2388 100644
--- a/polygerrit-ui/app/elements/shared/gr-download-commands/gr-download-commands_html.js
+++ b/polygerrit-ui/app/elements/shared/gr-download-commands/gr-download-commands_html.js
@@ -44,7 +44,6 @@ export const htmlTemplate = html`
flex-direction: column;
}
gr-shell-command {
- width: 60em;
margin-bottom: var(--spacing-m);
}
.hidden {