Skip to content

Commit

Permalink
Fix column size.
Browse files Browse the repository at this point in the history
  • Loading branch information
euler-room committed Oct 8, 2024
1 parent 5052e6a commit 2114127
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion apps/dashboard/app/views/projects/_project_card.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="col-md-3 ">
<%= icon_tag(URI.parse(project.icon), classes: ["fa-3x"]) %>
</div>
<div class="col-md-8 col-ml-3">
<div class="col-md-8">
<%= content_tag(:p, project.title)%>
</div>
</div>
Expand Down
22 changes: 11 additions & 11 deletions apps/dashboard/app/views/projects/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
<small class="text-muted">This is a preview of the new 'Project Manager'</small>
</div>

<div class="row mt-3git ad
<div class="col-md-9">
<div class="row justify-content-start">
<div class="row mt-3">
<div class="col-md-8">
<div class="row">
<% @projects.each do |project| %>
<%= render partial: "project_card", locals: { project: project }%>
<%= render partial: "project_card", locals: { project: project } %>
<% end %>
</div>
</div>
<div class="col-md-3">
<div class=" justify-content-center text-center new-project-widget">
<div class="col-md-4">
<div class="mt-5 text-center new-project-widget">
<%= link_to(new_project_path,
title: I18n.t('dashboard.jobs_create_blank_project'),
class: 'text-dark btn btn-link') do
%>
<%= icon_tag(URI.parse("fas://plus"), classes: ["fa-3x"]) %><br>
title: I18n.t('dashboard.jobs_create_blank_project'),
class: 'text-dark btn btn-link') do
%>
<%= icon_tag(URI.parse("fas://plus"), classes: ["fa-3x"]) %>

<%= I18n.t('dashboard.jobs_create_blank_project') %>
<% end %>
Expand All @@ -29,7 +29,7 @@
title: I18n.t('dashboard.jobs_create_template_project'),
class: 'text-dark btn btn-link') do
%>
<%= icon_tag(URI.parse("fas://clone"), classes: ["fa-3x"]) %><br>
<%= icon_tag(URI.parse("fas://clone"), classes: ["fa-3x"]) %>
<%= I18n.t('dashboard.jobs_create_template_project') %>
<% end %>
</div>
Expand Down

0 comments on commit 2114127

Please sign in to comment.