mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
portico: Change CSS class to float-left and float-right.
This is done because the current column-left and column-right were actually just floating left and right and making use of float-left and float-right makes more sense. This also helps with the upcoming public archives feature which will try to include portico content with main app content.
This commit is contained in:
committed by
Tim Abbott
parent
75d76e4eb3
commit
59cd440d39
@@ -19,7 +19,7 @@
|
|||||||
<!-- so we can't use variables -->
|
<!-- so we can't use variables -->
|
||||||
<div class="header" style="background-color: #c9e9e0;">
|
<div class="header" style="background-color: #c9e9e0;">
|
||||||
<div class="header-main" id="top_navbar">
|
<div class="header-main" id="top_navbar">
|
||||||
<div class="column-left">
|
<div class="float-left">
|
||||||
<div>
|
<div>
|
||||||
<a class="brand logo" href="https://zulipchat.com/">
|
<a class="brand logo" href="https://zulipchat.com/">
|
||||||
<svg class="brand-logo" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 40 40" version="1.1">
|
<svg class="brand-logo" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 40 40" version="1.1">
|
||||||
|
|||||||
@@ -1347,14 +1347,6 @@ input.new-organization-button {
|
|||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-left {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.column-right {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.top-links {
|
.top-links {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<div class="header portico-header">
|
<div class="header portico-header">
|
||||||
<div class="header-main" id="top_navbar">
|
<div class="header-main" id="top_navbar">
|
||||||
<div class="column-left">
|
<div class="float-left">
|
||||||
<div>
|
<div>
|
||||||
{% if custom_logo_url %}
|
{% if custom_logo_url %}
|
||||||
<a class="brand logo" href="{{ root_domain_uri }}/"><img draggable="false" src="{{ custom_logo_url }}" class="portico-logo" alt="{{ _('Zulip') }}" content="Zulip" /></a>
|
<a class="brand logo" href="{{ root_domain_uri }}/"><img draggable="false" src="{{ custom_logo_url }}" class="portico-logo" alt="{{ _('Zulip') }}" content="Zulip" /></a>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="column-right top-links">
|
<div class="float-right top-links">
|
||||||
{% if user_is_authenticated %}
|
{% if user_is_authenticated %}
|
||||||
{% include 'zerver/portico-header-dropdown.html' %}
|
{% include 'zerver/portico-header-dropdown.html' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
Reference in New Issue
Block a user