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:12:37 +0000
commitec82525fc508f62d23fdf957bea7f404d1de57f6 (patch)
tree0a7b0ee12a0a6b7bec7699c038246102fd03eb52
parent62d2774c441a8be0dc1dbc8c439961f7de79d64f (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.ts3
-rw-r--r--polygerrit-ui/app/elements/shared/gr-download-commands/gr-download-commands_html.ts1
2 files changed, 3 insertions, 1 deletions
diff --git a/polygerrit-ui/app/elements/change/gr-download-dialog/gr-download-dialog_html.ts b/polygerrit-ui/app/elements/change/gr-download-dialog/gr-download-dialog_html.ts
index 90185a6285..9dc9832dc5 100644
--- a/polygerrit-ui/app/elements/change/gr-download-dialog/gr-download-dialog_html.ts
+++ b/polygerrit-ui/app/elements/change/gr-download-dialog/gr-download-dialog_html.ts
@@ -59,6 +59,9 @@ export const htmlTemplate = html`
.hidden {
display: none;
}
+ gr-download-commands {
+ width: min(80vw, 1200px);
+ }
</style>
<section>
<h3 class="heading-3">
diff --git a/polygerrit-ui/app/elements/shared/gr-download-commands/gr-download-commands_html.ts b/polygerrit-ui/app/elements/shared/gr-download-commands/gr-download-commands_html.ts
index 35385fa458..ac909676bf 100644
--- a/polygerrit-ui/app/elements/shared/gr-download-commands/gr-download-commands_html.ts
+++ b/polygerrit-ui/app/elements/shared/gr-download-commands/gr-download-commands_html.ts
@@ -44,7 +44,6 @@ export const htmlTemplate = html`
flex-direction: column;
}
gr-shell-command {
- width: 60em;
margin-bottom: var(--spacing-m);
}
.hidden {