mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 04:32:16 +08:00
Remove border from the import button
This commit is contained in:
parent
8146a6a42c
commit
ebbb36cc6d
2 changed files with 2 additions and 1 deletions
|
@ -267,6 +267,7 @@
|
|||
|
||||
.external-import-btn {
|
||||
background-color: $brand-primary;
|
||||
border: none;
|
||||
color: $color-white;
|
||||
font-size: 12px;
|
||||
padding-bottom: 3px;
|
||||
|
|
|
@ -58,7 +58,7 @@ module ProtocolImporters
|
|||
|
||||
# Check if step name are valid
|
||||
steps.each do |step|
|
||||
step[1][:name] = (step[1][:position] + 1).to_s if step[1][:name].blank?
|
||||
step[1][:name] = "Step #{(step[1][:position] + 1)}" if step[1][:name].blank?
|
||||
end
|
||||
|
||||
{ protocol: normalized_data }
|
||||
|
|
Loading…
Reference in a new issue