Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit ec40810

Browse files
author
vikasrohit
committed
SUP-2901, [Edit Profile]: Add skill field should have full length even if there is no/few skills
-- Reverted changes to make list items for skills, external accounts and external account data tiles to be distributed equally in the available space because when the number of elements are less than the full row, the elements appears to be placed on corners instead of starting from the left.
1 parent 3411389 commit ec40810

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

assets/css/directives/external-account.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
display: flex;
55
flex-direction: column;
66
align-items: center;
7-
margin: 5px 0px 15px 0;
7+
margin: 5px 20px 15px 0;
88
cursor: pointer;
99

1010
&.connected {

assets/css/directives/external-link-data.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
external-accounts {
44
display: flex;
55
flex-flow: row wrap;
6-
justify-content: space-between;
76
}
87

98
.ext-link-tile_edit-header {
@@ -208,14 +207,18 @@ external-accounts {
208207
display: flex;
209208
flex-direction: row;
210209
flex-wrap: wrap;
211-
justify-content: space-between;
210+
justify-content: flex-start;
212211
padding: 0px 60px;
213212

214213
.external-link-tile {
215214
border: 1px solid #f0f0f0;
216215
background-color: $gray-lightest;
216+
margin-left: 15px;
217217
margin-top: 30px;
218218
margin-bottom: 0px;
219+
// &:nth-child(3n+1) {
220+
// margin-left: 0px;
221+
// }
219222
width: 218px;
220223
height: 240px;
221224
display: flex;

assets/css/settings/settings.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,12 +320,12 @@
320320
flex-direction: row;
321321
flex-wrap: wrap;
322322
margin-top: 20px;
323-
justify-content: space-between;
324323

325324
.skill {
326325
margin: 0 20px 10px;
327326
@media only screen and (min-width: 768px) {
328327
margin: 0;
328+
margin-right: 30px;
329329
margin-bottom: 60px;
330330
}
331331
}

0 commit comments

Comments
 (0)