From d00725a17594bd4908d31397c6012b397ff1148d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Thu, 14 Jan 2016 16:05:47 +0100 Subject: [PATCH] Fix alignment issues after a fix on titles weight --- app/assets/stylesheets/pages/commit.scss | 2 +- app/assets/stylesheets/pages/tags.scss | 2 +- app/views/projects/commits/_commit.html.haml | 2 +- app/views/projects/tags/_tag.html.haml | 7 +++---- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/pages/commit.scss b/app/assets/stylesheets/pages/commit.scss index 6ec88bdd804..3d6162d4ed4 100644 --- a/app/assets/stylesheets/pages/commit.scss +++ b/app/assets/stylesheets/pages/commit.scss @@ -2,7 +2,7 @@ display: block; } -.commit-row-title .commit-title { +.commit-row-title .title { font-weight: 600; } diff --git a/app/assets/stylesheets/pages/tags.scss b/app/assets/stylesheets/pages/tags.scss index e9cd6dc6c5e..0ef6754bf35 100644 --- a/app/assets/stylesheets/pages/tags.scss +++ b/app/assets/stylesheets/pages/tags.scss @@ -1,3 +1,3 @@ -.tag-name{ +.tag-name { font-weight: 600; } diff --git a/app/views/projects/commits/_commit.html.haml b/app/views/projects/commits/_commit.html.haml index 4d4b410ee29..e4b54dedda8 100644 --- a/app/views/projects/commits/_commit.html.haml +++ b/app/views/projects/commits/_commit.html.haml @@ -11,7 +11,7 @@ = cache(cache_key) do %li.commit.js-toggle-container{ id: "commit-#{commit.short_id}" } .commit-row-title - .commit-title.str-truncated + .title.str-truncated = link_to_gfm commit.title, namespace_project_commit_path(project.namespace, project, commit.id), class: "commit-row-message" - if commit.description? %a.text-expander.js-toggle-button ... diff --git a/app/views/projects/tags/_tag.html.haml b/app/views/projects/tags/_tag.html.haml index 56a7ced1236..94c75de2fdb 100644 --- a/app/views/projects/tags/_tag.html.haml +++ b/app/views/projects/tags/_tag.html.haml @@ -2,10 +2,9 @@ - release = @releases.find { |release| release.tag == tag.name } %li %div - = link_to namespace_project_tag_path(@project.namespace, @project, tag.name) do - .tag-name - = icon('tag') - = tag.name + = link_to namespace_project_tag_path(@project.namespace, @project, tag.name), class: 'tag-name' do + = icon('tag') + = tag.name - if tag.message.present?   = strip_gpg_signature(tag.message)