forked from CGM_Public/pretix_original
Fix text flow in header (fixes #63)
This commit is contained in:
@@ -12,11 +12,14 @@ footer {
|
||||
}
|
||||
.page-header {
|
||||
position: relative;
|
||||
}
|
||||
.page-header .loginbox {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 20px;
|
||||
padding-bottom: 9px;
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
}
|
||||
.loginbox {
|
||||
padding-top: 15px;
|
||||
}
|
||||
}
|
||||
.js-only {
|
||||
display: none;
|
||||
|
||||
@@ -19,6 +19,10 @@
|
||||
<body>
|
||||
<div class="container event">
|
||||
<div class="page-header">
|
||||
<h1 class="pull-left">
|
||||
{{ event.name }}
|
||||
<small>{{ event.date_from|date }}{% if event.settings.show_date_to %} – {{ event.date_to|date }}{% endif %}</small>
|
||||
</h1>
|
||||
<div class="pull-right loginbox">
|
||||
{% if request.event.settings.locales|length > 1 %}
|
||||
<div class="locales">
|
||||
@@ -44,7 +48,7 @@
|
||||
{% trans "Login" %}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<h1>{{ event.name }} <small>{{ event.date_from|date }}{% if event.settings.show_date_to %} – {{ event.date_to|date }}{% endif %}</small></h1>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
{% if messages %}
|
||||
{% for message in messages %}
|
||||
|
||||
Reference in New Issue
Block a user