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

fix: review issues #2

Merged
merged 1 commit into from
Nov 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ This is a [single-spa](https://single-spa.js.org/) example React microapp.

## Config

For available variables config, please refer to `config/development.js` and `config/production.js`.
For available variables config which depend on the running environment (`development` or `production`), please refer to `config/development.js` and `config/production.js`.

For application constants which don't depend on the running environment use `src/constants/index.js`.

## NPM Commands

Expand Down
8 changes: 5 additions & 3 deletions src/routes/MyTeamsList/components/TeamCard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ const TeamCard = ({ team }) => {
/>
</div>

<Link to={`/taas/myteams/${team.id}`} styleName="title">
{team.name}
</Link>
<div styleName="title-wrapper">
<Link to={`/taas/myteams/${team.id}`} styleName="title">
{team.name}
</Link>
</div>

<div styleName="data-items">
<DataItem title="Start - End Date" icon={<IconCalendar />}>
Expand Down
10 changes: 9 additions & 1 deletion src/routes/MyTeamsList/components/TeamCard/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,25 @@
position: relative;
}

.title-wrapper {
box-sizing: border-box;
padding-right: 24px;
width: 100%;
}

.title {
@include font-barlow;
color: #219174;
display: inline-block;
font-size: 20px;
font-weight: 600;
line-height: 24px;
overflow: hidden;
margin-right: 40px;
text-decoration: none;
text-transform: uppercase;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 100%;
}

Expand Down