Merge pull request #5612 from sboursen-scinote/sb_SCI-8641

Stretched image on the empty dashboard screen [SCI-8641]
This commit is contained in:
aignatov-bio 2023-06-16 12:39:58 +02:00 committed by GitHub
commit 45764498ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -41,10 +41,14 @@ table {
#no-teams-jumbotron {
display: flex;
flex-direction: column;
align-items: center;
position: relative;
top: 100px;
justify-content: center;
align-items: center;
padding-top: 7rem;
img {
margin-bottom: 1.5rem;
max-width: 33%;
}
}
#alert-container {

View file

@ -86,7 +86,7 @@
<% if user_signed_in? && current_user.teams.blank? && !(activities_are_selected? || settings_are_selected?) %>
<!-- If member of no teams -->
<div id="no-teams-jumbotron" class="jumbotron">
<%= image_tag "empty-screen-illustration.png", size: "500x500" %>
<%= image_tag "empty-screen-illustration.png" %>
<h2><%=t 'general.no_teams.title' %></h2>
<p class="no-teams-info"><%=t 'general.no_teams.text' %></p>
</div>