Skip to content

Commit

Permalink
Modifying card size to better spread out projects
Browse files Browse the repository at this point in the history
  • Loading branch information
sajeeth1009 committed Nov 10, 2019
1 parent a443aaf commit 8c01875
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/app/projects/projects.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<div *ngIf="!isDatagridView">
<div class="clr-row">
<div class="clr-col max-width-35" *ngFor="let project of projects">
<div class="clr-col max-width-35 min-width-25" *ngFor="let project of projects">
<div class="card">
<div class="card-header">
<span>{{project.title}}</span><span><button (click)="onDelete(project.id)" class="btn btn-link right"><clr-icon shape="trash"></clr-icon></button></span>
Expand Down
4 changes: 4 additions & 0 deletions web/src/app/projects/projects.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
max-width: 35%;
}

.min-width-25 {
min-width: 25%;
}

.left-margin-1 {
margin-left: 1em;
}

0 comments on commit 8c01875

Please sign in to comment.