Skip to content

Commit

Permalink
Replace dashed-list.scss with an unordered list
Browse files Browse the repository at this point in the history
The dashed-list was used in the staging workflow info box. There were a
dew issues when rendering longer project names, which could be solved by
using an unordered list.
This also fixes the dash that was missing for the first element.

Fixes #6314
  • Loading branch information
bgeuken committed Nov 21, 2018
1 parent 4129fc2 commit 96ddd17
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
14 changes: 0 additions & 14 deletions src/api/app/assets/stylesheets/webui2/dashed-list.scss

This file was deleted.

1 change: 0 additions & 1 deletion src/api/app/assets/stylesheets/webui2/webui2.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
@import 'breadcrumbs-component';
@import 'tabs-component';
@import 'personal-navigation';
@import 'dashed-list';
@import 'list-group-item-integrated';
@import 'icons';
@import 'kaminari';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- if projects.empty?
None
- else
%ol.dashed-list.pl-2
%ul.pl-4
- projects.sort.each do |project|
%li.dashed-list-item
%li
= link_to(project.staging_identifier, project_show_path(project.name))

0 comments on commit 96ddd17

Please sign in to comment.