From 7eabe3b08ec73ac52a2932522654df586f908bd3 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Aug 16 2018 10:00:48 +0000 Subject: remove button-label from css, and update blame.html branch chooser Updates the blame page branch chooser to match the same style used in other pages like file.html. this lets us remove the button-label classes from the css. --- diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index bce9b40..5dc8dc2 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -142,24 +142,6 @@ z-index:1; margin-top:3px; } -.button-label{ - padding: .25rem .75rem; - font-size: .875rem; - line-height: 1.5; - border-radius: .2rem; - display: inline-block; - font-weight: 400; - text-align: center; - white-space: nowrap; - vertical-align: middle; - border: 1px solid transparent; -} - -.button-label-default -{ - background-color:#eee; -} - .ellipsis { white-space: nowrap; overflow: hidden; diff --git a/pagure/templates/blame.html b/pagure/templates/blame.html index 9373194..4b12d72 100644 --- a/pagure/templates/blame.html +++ b/pagure/templates/blame.html @@ -23,21 +23,12 @@
-
-
- {% if repo.is_fork %} - - {{ repo.user.user }}/{{ repo.name }} - {% else %} - {{ repo.name }} - {% endif %} - -
+
{% if branchname %}
-