Commit ac01a1b1 authored by tauriedavis's avatar tauriedavis

20914 Limits line length for project home page

fix lint issues
parent 8f93280e
- empty_repo = @project.empty_repo?
.project-home-panel.text-center{ class: ("empty-project" if empty_repo) }
%div{ class: container_class }
.limit-container-width{ class: container_class }
.avatar-container.s70.project-avatar
= project_icon(@project, alt: @project.name, class: 'avatar s70 avatar-tile')
%h1.project-title
......
......@@ -13,7 +13,7 @@
= render "home_panel"
- if current_user && can?(current_user, :download_code, @project)
%nav.project-stats{ class: container_class }
%nav.project-stats.limit-container-width{ class: container_class }
%ul.nav
%li
= link_to project_files_path(@project) do
......@@ -74,11 +74,11 @@
Set up auto deploy
- if @repository.commit
%div{ class: container_class }
.limit-container-width{ class: container_class }
.project-last-commit
= render 'projects/last_commit', commit: @repository.commit, ref: current_ref, project: @project
%div{ class: container_class }
.limit-container-width{ class: container_class }
- if @project.archived?
.text-warning.center.prepend-top-20
%p
......
---
title: Limit line length for project home page
merge_request:
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment