Fix image size and position in no-teams-jumbotron [SCI-8641]

Co-authored-by: Sboursen <dev.sboursen@gmail.com>
This commit is contained in:
sboursen-scinote 2023-06-16 08:36:16 +02:00
parent dbda75d4ef
commit a1b62b22b1
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>