Fix tables css [SCI-8185]

This commit is contained in:
Anton 2023-03-23 11:47:57 +01:00
parent 72186e8e8d
commit 4edad3f41c
4 changed files with 7 additions and 22 deletions

View file

@ -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);
}

View file

@ -67,15 +67,6 @@
td {
padding-left: 10px;
&:first-child {
display: flex;
justify-content: center;
}
&:last-child {
display: table-cell;
}
.nowrap {
white-space: nowrap;
}

View file

@ -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

View file

@ -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"