Skip to content

Only make non-image project icons rounded

Matt Clarkson requested to merge mattyclarkson/gitlab-ce:border-radius into master

The markup of the projects icons when they don't have an icon file is:

<a class="project" href="/web/vca-rule-select">
  <div class="dash-project-avatar">
    <div class="avatar project-avatar s46 identicon" style="background-color: #F3E5F5; color: #555">V</div>
  </div>
</a>

When there is a image icon it is:

<a class="project" href="/web/vca.js">
  <div class="dash-project-avatar">
    <img alt="" class="avatar project-avatar s46" src="https://gitlab.vcatechnology.com/uploads/project/avatar/850/window.png">
  </div>

</a>

Most icons added are going to be PNG with a transparent background, there should be no need to round the outline.

Merge request reports