mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-18 15:59:39 +08:00
Merge pull request #5184 from aignatov-bio/ai-sci-8185-css-fixes
Fix tables css [SCI-8185]
This commit is contained in:
commit
d8083b84b6
4 changed files with 7 additions and 22 deletions
|
|
@ -689,7 +689,9 @@ var ProtocolsIndex = (function() {
|
|||
actionToolbar.find('.btn').addClass('notransition');
|
||||
actionToolbar.find('.btn').removeClass('btn-primary').addClass('btn-light');
|
||||
actionToolbar.find('.btn:visible').first().addClass('btn-primary').removeClass('btn-light');
|
||||
actionToolbar.find('.btn').removeClass('notransition');
|
||||
setTimeout(function() {
|
||||
actionToolbar.find('.btn').removeClass('notransition');
|
||||
}, 500);
|
||||
|
||||
actionToolbar.find('.emptyPlaceholder').toggleClass('hidden', actionToolbar.find('.btn:visible').length > 0);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,15 +67,6 @@
|
|||
td {
|
||||
padding-left: 10px;
|
||||
|
||||
&:first-child {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.nowrap {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,18 +85,10 @@
|
|||
height: 100%;
|
||||
|
||||
td {
|
||||
padding: 8px;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
td:first-child {
|
||||
padding: 16px 0;
|
||||
}
|
||||
|
||||
td:not(:first-child) {
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
// Cells
|
||||
|
|
|
|||
|
|
@ -3203,7 +3203,7 @@ en:
|
|||
everyone_else: "Everyone else at %{team_name}"
|
||||
reset: "Inherit role"
|
||||
remove_access: "Remove access"
|
||||
grant_access: "Grant new access"
|
||||
grant_access: "Grant access"
|
||||
create:
|
||||
success:
|
||||
one: "You have successfully granted access to %{count} member to the project."
|
||||
|
|
@ -3218,13 +3218,13 @@ en:
|
|||
new_resource_assignments: "Grant new access to %{resource}"
|
||||
new_assignments_form:
|
||||
title: "Select members"
|
||||
submit: "Grant new access"
|
||||
submit: "Grant access"
|
||||
submit_singular: "Grant access to 1 member"
|
||||
submit_plural: "Grant access to {num} members"
|
||||
find_people_html: "Find people"
|
||||
new_protocol_assignments_form:
|
||||
title: "Select members"
|
||||
submit: "Grant new access"
|
||||
submit: "Grant access"
|
||||
submit_singular: "Grant access to 1 member"
|
||||
submit_plural: "Grant access to {num} members"
|
||||
find_people_html: "Find people"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue