mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-27 07:24:28 +08:00
Fix tables css [SCI-8185]
This commit is contained in:
parent
72186e8e8d
commit
4edad3f41c
4 changed files with 7 additions and 22 deletions
|
@ -687,7 +687,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
|
||||
|
|
|
@ -3190,7 +3190,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."
|
||||
|
@ -3205,13 +3205,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