Skip to content

Commit 08a90b4

Browse files
Merge pull request #1547 from nauhil/develop
Ticket ##1491 - There is no 'Add link' button for adding a new extern…
2 parents 4212e61 + 35a1347 commit 08a90b4

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

src/shared/components/Settings/Account/LinkedAccount/AddWebLink.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ Please enter a valid URL
190190
)
191191
}
192192
</div>
193+
<PrimaryButton onClick={this.onAddWebLinkButton} theme={{ button: 'button-add-link' }}>Add Link</PrimaryButton>
193194
</form>
194195
</div>
195196
</div>

src/shared/components/Settings/Account/LinkedAccount/styles.scss

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "~styles/mixins";
1+
@import "../../style";
22

33
.links {
44
border-bottom: none;
@@ -213,7 +213,7 @@
213213

214214
input.url {
215215
max-width: 100%;
216-
margin: 0;
216+
margin: 5px 0 0 0;
217217
border-radius: 4px;
218218

219219
@include placeholder {
@@ -869,3 +869,34 @@
869869
}
870870
}
871871
}
872+
873+
.buttons {
874+
margin-top: auto;
875+
margin-bottom: auto;
876+
877+
.button-add-link {
878+
align-self: center;
879+
color: $tc-white;
880+
margin: 0;
881+
882+
div:first-child {
883+
margin-top: 0;
884+
}
885+
886+
button,
887+
a {
888+
@include roboto-medium;
889+
890+
height: 40px;
891+
font-size: 15px;
892+
font-weight: 500;
893+
margin: 0;
894+
padding: 0;
895+
width: 155px;
896+
}
897+
898+
@include xs-to-sm {
899+
display: none;
900+
}
901+
}
902+
}

0 commit comments

Comments
 (0)