From 77f37353d48ef8917b60ffc377adeead161a06a5 Mon Sep 17 00:00:00 2001 From: Daniil Tamazlykar Date: Thu, 28 Jun 2018 20:18:29 +0700 Subject: [PATCH] fix(sg): update the width of the autocompletion window for icmp codes and types (#1130) PR Close #961 --- .../sg-rule-addition-form.component.html | 4 ++-- src/style/app.scss | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/app/security-group/components/sg-rule-addition-form/sg-rule-addition-form.component.html b/src/app/security-group/components/sg-rule-addition-form/sg-rule-addition-form.component.html index 7f4b0e8ecd..85897cf9b7 100644 --- a/src/app/security-group/components/sg-rule-addition-form/sg-rule-addition-form.component.html +++ b/src/app/security-group/components/sg-rule-addition-form/sg-rule-addition-form.component.html @@ -81,7 +81,7 @@ {{ 'SECURITY_GROUP_PAGE.RULES.ENTER_VALID_TYPE' | translate }} - + [{{ icmp.type }}] {{ getIcmpTypeTranslationToken(icmp.type) | translate }} @@ -99,7 +99,7 @@ {{ 'SECURITY_GROUP_PAGE.RULES.ENTER_VALID_CODE' | translate }} - + [{{ codes }}] {{ getIcmpCodeTranslationToken(+icmpTypeField.value, codes) | translate }} diff --git a/src/style/app.scss b/src/style/app.scss index 2e3b4c8213..c4904172e5 100644 --- a/src/style/app.scss +++ b/src/style/app.scss @@ -472,3 +472,8 @@ h3 { .mat-header-row, .mat-row { height: 0; } + +.icmp-autocomplete-width { + width: 294px; + left: -72px; +}