Skip to content

Commit 09974c2

Browse files
committed
Slight corrections of styles
1 parent 94b0b26 commit 09974c2

File tree

7 files changed

+12
-7
lines changed

7 files changed

+12
-7
lines changed

src/shared/components/challenge-listing/Tooltips/Tooltip/style.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '~styles/tc-includes';
1+
@import '~styles/tc-styles';
22

33
:global {
44
.rc-tooltip {
@@ -9,7 +9,7 @@
99
.rc-tooltip-inner {
1010
border-radius: 3px;
1111
background: $tc-gray-80;
12-
padding: $base-unit * 2 $base-unit * 3;
12+
padding: 0;
1313
}
1414

1515
.rc-tooltip-placement-top .rc-tooltip-arrow,

src/shared/components/tc-communities/JoinCommunity/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function JoinCommunity({
2525
token,
2626
userId,
2727
}) {
28-
if (!canJoin) return null;
28+
if (!canJoin) return <div styleName="placeholder" />;
2929
return (
3030
<div>
3131
<button

src/shared/components/tc-communities/JoinCommunity/style.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
border: 1px solid $tc-green;
3535
border-radius: 20px;
3636
font: 700 14px/40px 'Open Sans';
37-
margin: 48px auto 0;
37+
margin: 24px auto;
3838
height: 40px;
3939
text-align: center;
4040
text-transform: uppercase;
@@ -82,3 +82,7 @@
8282
margin: 24px 0;
8383
text-align: center;
8484
}
85+
86+
.placeholder {
87+
height: 24px;
88+
}

src/shared/components/tc-communities/Section/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import '~styles/tc-styles';
22

33
.container {
4+
padding: 35px 0;
45
padding-bottom: 70px;
56

67
@include xxs-to-sm {

src/shared/components/tc-communities/communities/demo-expert/Home/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626

2727
.linksContainer {
28-
padding: 60px 0;
28+
padding: 24px 0 60px;
2929

3030
@include xxs-to-sm {
3131
padding: 0;

src/shared/components/tc-communities/communities/tc-prod-dev/Home/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626

2727
.linksContainer {
28-
padding: 60px 0;
28+
padding: 24px 0 60px;
2929

3030
@include xxs-to-sm {
3131
padding: 0;

src/shared/components/tc-communities/communities/wipro/Home/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626

2727
.linksContainer {
28-
padding: 60px 0;
28+
padding: 24px 0 60px;
2929

3030
@include xxs-to-sm {
3131
padding: 0;

0 commit comments

Comments
 (0)