mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-10 23:25:31 +08:00
Fix circle icon in image editor [SCI-2855]
This commit is contained in:
parent
feb75f62e1
commit
ded74044de
2 changed files with 4 additions and 4 deletions
|
@ -176,7 +176,7 @@ mark,.mark {
|
||||||
color: $color-emperor;
|
color: $color-emperor;
|
||||||
}
|
}
|
||||||
|
|
||||||
.circle {
|
.circle-icon {
|
||||||
@extend .badge;
|
@extend .badge;
|
||||||
background-color: $brand-primary;
|
background-color: $brand-primary;
|
||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
|
|
|
@ -53,9 +53,9 @@ module RepositoryDatatableHelper
|
||||||
|
|
||||||
def assigned_row(record, assigned_rows)
|
def assigned_row(record, assigned_rows)
|
||||||
if assigned_rows&.include?(record)
|
if assigned_rows&.include?(record)
|
||||||
"<span class='circle'> </span>"
|
"<span class='circle-icon'> </span>"
|
||||||
else
|
else
|
||||||
"<span class='circle disabled'> </span>"
|
"<span class='circle-icon disabled'> </span>"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -80,4 +80,4 @@ module RepositoryDatatableHelper
|
||||||
col.slice(:visible, :searchable)
|
col.slice(:visible, :searchable)
|
||||||
end.to_json
|
end.to_json
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue