mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 03:36:44 +08:00
Merge pull request #5612 from sboursen-scinote/sb_SCI-8641
Stretched image on the empty dashboard screen [SCI-8641]
This commit is contained in:
commit
45764498ed
2 changed files with 8 additions and 4 deletions
|
@ -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 {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue