Skip to content

Commit

Permalink
Minor CSS fix for large screens
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Jul 2, 2024
1 parent 0be7e5c commit 7baf02e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/static/app/js/components/TaskListItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ class TaskListItem extends React.Component {
/>
: ""}
<div className="row">
<div className="col-xs-7 col-sm-6 col-md-5 name">
<div className="col-xs-7 col-sm-6 col-md-5 col-lg-6 name">
<i onClick={this.toggleExpanded} className={"clickable far " + (this.state.expanded ? "fa-minus-square" : " fa-plus-square")}></i> <a href="javascript:void(0);" onClick={this.toggleExpanded} className="name-link">{name}</a>
{userTags.length > 0 ?
userTags.map((t, i) => <div key={i} className="tag-badge small-badge" onClick={this.handleTagClick(t)}>{t}</div>)
Expand All @@ -751,7 +751,7 @@ class TaskListItem extends React.Component {
<div className="col-md-2 hidden-xs hidden-sm details">
<i className="far fa-clock"></i> {this.hoursMinutesSecs(this.state.time)}
</div>
<div className="col-xs-5 col-sm-6 col-md-4 actions">
<div className="col-xs-5 col-sm-6 col-md-4 col-lg-3 actions">
{showEditLink ?
<a href="javascript:void(0);" onClick={this.startEditing}>{statusLabel}</a>
: statusLabel}
Expand Down
6 changes: 6 additions & 0 deletions app/static/app/js/css/TaskListItem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@
padding: 0;
}
margin-bottom: 12px;
@media screen and (min-width: 1200px) {
tr td:first-child {
width: 20%;
max-width: 150px;
}
}
}

.task-warning{
Expand Down

0 comments on commit 7baf02e

Please sign in to comment.