From 4e1104c29277cf0574a5ad5a59b9d2cc215e4188 Mon Sep 17 00:00:00 2001 From: svetlagasheva Date: Tue, 1 Oct 2019 16:05:03 +0300 Subject: [PATCH] flex properties added to buttons style --- src/common/SharePrompt/styles.less | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/common/SharePrompt/styles.less b/src/common/SharePrompt/styles.less index 1e9874a67..36c97ce7f 100644 --- a/src/common/SharePrompt/styles.less +++ b/src/common/SharePrompt/styles.less @@ -43,7 +43,9 @@ margin: 1.4rem 0; .button-container { - flex: 1; + flex-grow: 0; + flex-shrink: 1; + flex-basis: 14rem; display: flex; flex-direction: row; align-items: center; @@ -101,6 +103,9 @@ } .copy-button { + flex-grow: 0; + flex-shrink: 1; + flex-basis: auto; display: flex; flex-direction: row; align-items: center; @@ -109,6 +114,7 @@ background-color: var(--color-surface); .icon { + flex: none; width: 1.4rem; height: 1.4rem; margin-right: 0.6rem;