|
@@ -49,6 +49,13 @@ export default class StaffCredit extends React.Component {
|
|
|
const scrollTargetHeight = target.children().innerHeight();
|
|
const scrollTargetHeight = target.children().innerHeight();
|
|
|
const duration = scrollTargetHeight / scrollSpeed;
|
|
const duration = scrollTargetHeight / scrollSpeed;
|
|
|
target.animate({ scrollTop: scrollTargetHeight }, duration, 'linear');
|
|
target.animate({ scrollTop: scrollTargetHeight }, duration, 'linear');
|
|
|
|
|
+
|
|
|
|
|
+ target.slimScroll({
|
|
|
|
|
+ height: target.innerHeight(),
|
|
|
|
|
+ // Able to scroll after automatic schooling is complete so set "bottom" to allow scrolling from the bottom.
|
|
|
|
|
+ start: 'bottom',
|
|
|
|
|
+ color: '#FFFFFF',
|
|
|
|
|
+ });
|
|
|
}
|
|
}
|
|
|
else {
|
|
else {
|
|
|
// add UserCommand
|
|
// add UserCommand
|
|
@@ -97,7 +104,7 @@ export default class StaffCredit extends React.Component {
|
|
|
});
|
|
});
|
|
|
return (
|
|
return (
|
|
|
<React.Fragment key={`${contributor.sectionName}-fragment`}>
|
|
<React.Fragment key={`${contributor.sectionName}-fragment`}>
|
|
|
- <div className={`row staff-credit-my-10 ${contributor.additionalClass}`} key={`${contributor.sectionName}-row`}>
|
|
|
|
|
|
|
+ <div className={`row ${contributor.additionalClass}`} key={`${contributor.sectionName}-row`}>
|
|
|
<h2 className="col-md-12 dev-team mt-5 staff-credit-mb-10" key={contributor.sectionName}>{contributor.sectionName}</h2>
|
|
<h2 className="col-md-12 dev-team mt-5 staff-credit-mb-10" key={contributor.sectionName}>{contributor.sectionName}</h2>
|
|
|
{memberGroups}
|
|
{memberGroups}
|
|
|
</div>
|
|
</div>
|
|
@@ -106,7 +113,7 @@ export default class StaffCredit extends React.Component {
|
|
|
);
|
|
);
|
|
|
});
|
|
});
|
|
|
return (
|
|
return (
|
|
|
- <div className="text-center" onClick={this.deleteCredit}>
|
|
|
|
|
|
|
+ <div className="text-center staff-credit-pb-10" onClick={this.deleteCredit}>
|
|
|
<h1 className="staff-credit-mb-10">GROWI Contributors</h1>
|
|
<h1 className="staff-credit-mb-10">GROWI Contributors</h1>
|
|
|
<div className="clearfix"></div>
|
|
<div className="clearfix"></div>
|
|
|
{credit}
|
|
{credit}
|