Skip to content

Commit 8c01875

Browse files
committed
Modifying card size to better spread out projects
1 parent a443aaf commit 8c01875

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

web/src/app/projects/projects.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
<div *ngIf="!isDatagridView">
3535
<div class="clr-row">
36-
<div class="clr-col max-width-35" *ngFor="let project of projects">
36+
<div class="clr-col max-width-35 min-width-25" *ngFor="let project of projects">
3737
<div class="card">
3838
<div class="card-header">
3939
<span>{{project.title}}</span><span><button (click)="onDelete(project.id)" class="btn btn-link right"><clr-icon shape="trash"></clr-icon></button></span>

web/src/app/projects/projects.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
max-width: 35%;
3030
}
3131

32+
.min-width-25 {
33+
min-width: 25%;
34+
}
35+
3236
.left-margin-1 {
3337
margin-left: 1em;
3438
}

0 commit comments

Comments
 (0)