Merge pull request #5184 from aignatov-bio/ai-sci-8185-css-fixes

Fix tables css [SCI-8185]
This commit is contained in:
aignatov-bio 2023-03-24 13:14:38 +01:00 committed by GitHub
commit d8083b84b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 22 deletions

View file

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

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

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