summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-01-14 16:05:47 +0100
committerRémy Coutable <remy@rymai.me>2016-01-14 16:05:47 +0100
commitd00725a17594bd4908d31397c6012b397ff1148d (patch)
tree89fe631c3daea495c53f62643058fe65f7b565ce
parentb6ae2def2cb2b1da3ddcb3ceee556628a1147cc4 (diff)
downloadgitlab-ce-d00725a17594bd4908d31397c6012b397ff1148d.tar.gz
Fix alignment issues after a fix on titles weight
-rw-r--r--app/assets/stylesheets/pages/commit.scss2
-rw-r--r--app/assets/stylesheets/pages/tags.scss2
-rw-r--r--app/views/projects/commits/_commit.html.haml2
-rw-r--r--app/views/projects/tags/_tag.html.haml7
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?
&nbsp;
= strip_gpg_signature(tag.message)