mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-10 05:46:47 +08:00
Code style fixes [SCI-5828]
This commit is contained in:
parent
afc1b2d8b6
commit
a9d6c4bb94
2 changed files with 6 additions and 3 deletions
|
@ -41,14 +41,15 @@
|
||||||
|
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
.form-dropdown-break hr {
|
.form-dropdown-break hr {
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-dropdown-item {
|
.form-dropdown-item {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
|
|
||||||
button, .form-dropdown-item-info {
|
button,
|
||||||
|
.form-dropdown-item-info {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
padding-left: .9em;
|
padding-left: .9em;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class AddCodeIndexToExperiments < ActiveRecord::Migration[6.1]
|
class AddCodeIndexToExperiments < ActiveRecord::Migration[6.1]
|
||||||
def change
|
def change
|
||||||
add_index :experiments, "('EX' || id)", name: "index_experiments_on_experiment_code", unique: true
|
add_index :experiments, "('EX' || id)", name: 'index_experiments_on_experiment_code', unique: true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue