mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 17:51:13 +08:00
Merge pull request #2102 from urbanrotnik/ur-sci-3929-missing-border
Fixed missing border, counter, buttons position [SCI-3929]
This commit is contained in:
commit
248da9475f
3 changed files with 5 additions and 11 deletions
|
@ -66,7 +66,7 @@
|
|||
|
||||
.complete-button-container {
|
||||
float: right;
|
||||
width: 165px;
|
||||
width: 260px;
|
||||
|
||||
.my_module-state-buttons {
|
||||
padding-top: 0;
|
||||
|
@ -239,11 +239,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
#protocol-copy-to-repository {
|
||||
border-left: 0;
|
||||
border-radius: 0 5px 5px 0;
|
||||
}
|
||||
|
||||
.my-module-recent-protocols {
|
||||
flex-grow: 1;
|
||||
margin-bottom: 5px;
|
||||
|
|
|
@ -420,6 +420,7 @@
|
|||
padding: 1px 6px;
|
||||
position: relative;
|
||||
top: -10px;
|
||||
left: 4px;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,11 +32,9 @@
|
|||
<a href="#" class="btn btn-default disabled"><span class="fas fa-upload"></span><span class="hidden-xs-custom"> <%= t("my_modules.protocols.buttons.export") %></span></a>
|
||||
<% end %>
|
||||
<% if can_read_protocol_in_module?(@protocol) && can_create_protocols_in_repository?(@protocol.team) %>
|
||||
<span data-hook="protocol-copy-to-repository">
|
||||
<%= link_to copy_to_repository_modal_protocol_path(@protocol, format: :json), id: "protocol-copy-to-repository", class: "btn btn-default", remote: true, data: { action: "copy-to-repository" } do %>
|
||||
<span class="fas fa-copy"></span><span class="hidden-xs-custom"> <%= t("my_modules.protocols.buttons.copy_to_repository") %></span>
|
||||
<% end %>
|
||||
</span>
|
||||
<a id="protocol-copy-to-repository" class="btn btn-default" data-action="copy-to-repository" data-hook="protocol-copy-to-repository" data-remote="true" href="<%= copy_to_repository_modal_protocol_path(@protocol, format: :json) %>">
|
||||
<span class="fas fa-copy"></span><span class="hidden-xs-custom"> <%= t("my_modules.protocols.buttons.copy_to_repository") %></span>
|
||||
</a>
|
||||
<% else %>
|
||||
<a href="#" class="btn btn-default disabled"><span class="fas fa-copy"></span><span class="hidden-xs-custom"> <%= t("my_modules.protocols.buttons.copy_to_repository") %></span></a>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue