mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 19:51:01 +08:00
Fix image size and position in no-teams-jumbotron [SCI-8641]
Co-authored-by: Sboursen <dev.sboursen@gmail.com>
This commit is contained in:
parent
dbda75d4ef
commit
a1b62b22b1
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