mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-15 00:06:10 +08:00
Merge pull request #2433 from aignatov-bio/ai-sci-4390-change-new-inventory-button-design
Change button style for new inventory [SCI-4390]
This commit is contained in:
commit
4aaeb2043f
2 changed files with 7 additions and 3 deletions
|
@ -87,7 +87,11 @@
|
||||||
.tree-link {
|
.tree-link {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
a:not(.canvas-center-on) {
|
.btn-secondary {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:not(.canvas-center-on, .btn) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
<% if can_create_repositories?(current_team) %>
|
<% if can_create_repositories?(current_team) %>
|
||||||
<li>
|
<li>
|
||||||
<span class="tree-link no-indent">
|
<span class="tree-link no-indent">
|
||||||
<a class="sidebar-button create-new-repository" data-remote="true"
|
<a class="btn btn-secondary create-new-repository" data-remote="true"
|
||||||
href="<%= create_modal_team_repositories_path(current_team) %>">
|
href="<%= create_modal_team_repositories_path(current_team) %>">
|
||||||
<span class="fas fa-plus"></span>
|
<i class="fas fa-plus"></i>
|
||||||
<%= t('libraries.index.no_libraries.create_new_button') %>
|
<%= t('libraries.index.no_libraries.create_new_button') %>
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Add table
Reference in a new issue