mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-02 13:12:13 +08:00
Remove whitespace to breadcrumbs
This commit is contained in:
parent
d26c885be7
commit
c8c211f245
9 changed files with 15 additions and 8 deletions
|
@ -60,6 +60,12 @@
|
|||
|
||||
.navigational-breadcrumbs {
|
||||
color: $color-silver-chalice;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.ga-breadcrumb {
|
||||
margin-left: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -238,6 +244,7 @@
|
|||
|
||||
@media (max-width: 1199px) {
|
||||
.ga-side {
|
||||
border-bottom: 1px solid $gray-lighter;
|
||||
|
||||
.filter-block {
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<%= render partial: "global_activities/references/project.html.erb",
|
||||
locals: { subject: subject&.project, breadcrumbs: breadcrumbs } %>
|
||||
<div class="col-xs-2">
|
||||
<div class="ga-breadcrumb">
|
||||
<%= image_tag 'icon_small/experiment.svg' %>
|
||||
<% if subject %>
|
||||
<%= link_to experiment_path(subject), title: subject.name do %>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<%= render partial: "global_activities/references/experiment.html.erb",
|
||||
locals: { subject: subject&.experiment, breadcrumbs: breadcrumbs } %>
|
||||
<div class="col-xs-2">
|
||||
<div class="ga-breadcrumb">
|
||||
<%= image_tag 'icon_small/task.svg' %>
|
||||
<% if subject %>
|
||||
<%= link_to my_module_path(subject), title: subject.name do %>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<%= render partial: "global_activities/references/team.html.erb",
|
||||
locals: { subject: subject&.team, breadcrumbs: breadcrumbs } %>
|
||||
<div class="col-xs-2">
|
||||
<div class="ga-breadcrumb">
|
||||
<%= image_tag 'icon_small/project.svg' %>
|
||||
<% if subject %>
|
||||
<%= link_to project_path(subject), title: subject.name do %>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<%= render partial: "global_activities/references/my_module.html.erb",
|
||||
locals: { subject: subject&.my_module, breadcrumbs: breadcrumbs } %>
|
||||
<div class="col-xs-2">
|
||||
<div class="ga-breadcrumb">
|
||||
<span class="fas fa-edit"></span>
|
||||
<% if subject %>
|
||||
<% if subject.in_repository? %>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<%= render partial: "global_activities/references/team.html.erb",
|
||||
locals: { subject: subject&.team, breadcrumbs: breadcrumbs } %>
|
||||
<div class="col-xs-2">
|
||||
<div class="ga-breadcrumb">
|
||||
<%= image_tag 'icon_small/report.png' %>
|
||||
<% if subject %>
|
||||
<%= link_to reports_path(subject), title: subject.name do %>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<%= render partial: "global_activities/references/team.html.erb",
|
||||
locals: { subject: subject&.team, breadcrumbs: breadcrumbs } %>
|
||||
<div class="col-xs-2">
|
||||
<div class="ga-breadcrumb">
|
||||
<span class="fas fa-list-alt"></span>
|
||||
<% if subject %>
|
||||
<%= link_to repositories_path(subject), title: subject.name do %>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<%= render partial: "global_activities/references/my_module.html.erb",
|
||||
locals: { subject: subject&.my_module, breadcrumbs: breadcrumbs } %>
|
||||
<div class="col-xs-2">
|
||||
<div class="ga-breadcrumb">
|
||||
<%= image_tag 'icon_small/result.png' %>
|
||||
<% if subject %>
|
||||
<%= link_to results_my_module_path(subject.my_module), title: subject.name do %>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="col-xs-2">
|
||||
<div class="ga-breadcrumb">
|
||||
<span class="fas fa-users"></span>
|
||||
<% if subject %>
|
||||
<%= route_to_other_team projects_path(team: subject.id),
|
||||
|
|
Loading…
Reference in a new issue