mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix navigation when not signed up and browser is narrower
This commit is contained in:
parent
c49f5fb52c
commit
25b0957a7f
20
public/css/built.css
vendored
20
public/css/built.css
vendored
@ -2910,8 +2910,24 @@ box-shadow: 0px 0px 15px 0px rgba(0, 5, 5, 0.2);
|
|||||||
.large-dialog {
|
.large-dialog {
|
||||||
width: 960px;
|
width: 960px;
|
||||||
}
|
}
|
||||||
.hide-desktop
|
.hide-desktop {
|
||||||
{
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Style to fix navigation by show icon instead of name */
|
||||||
|
@media only screen and (min-width : 1200px) {
|
||||||
|
.nav-account-icon {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media only screen and (max-width : 992px) {
|
||||||
|
.nav-account-icon {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media only screen and (max-width : 1200px) and (min-width: 992px) {
|
||||||
|
.nav-account-name {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
20
public/css/style.css
vendored
20
public/css/style.css
vendored
@ -783,8 +783,24 @@ box-shadow: 0px 0px 15px 0px rgba(0, 5, 5, 0.2);
|
|||||||
.large-dialog {
|
.large-dialog {
|
||||||
width: 960px;
|
width: 960px;
|
||||||
}
|
}
|
||||||
.hide-desktop
|
.hide-desktop {
|
||||||
{
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Style to fix navigation by show icon instead of name */
|
||||||
|
@media only screen and (min-width : 1200px) {
|
||||||
|
.nav-account-icon {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media only screen and (max-width : 992px) {
|
||||||
|
.nav-account-icon {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media only screen and (max-width : 1200px) and (min-width: 992px) {
|
||||||
|
.nav-account-name {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -427,14 +427,16 @@
|
|||||||
|
|
||||||
<div class="btn-group user-dropdown">
|
<div class="btn-group user-dropdown">
|
||||||
<button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
|
<button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
|
||||||
<div id="myAccountButton" class="ellipsis" style="max-width:{{ Utils::isPro() && ! Utils::isTrial() ? '130' : '100' }}px">
|
<div id="myAccountButton" class="ellipsis nav-account-name" style="max-width:{{ Utils::isPro() && ! Utils::isTrial() ? '130' : '100' }}px;">
|
||||||
@if (session(SESSION_USER_ACCOUNTS) && count(session(SESSION_USER_ACCOUNTS)))
|
@if (session(SESSION_USER_ACCOUNTS) && count(session(SESSION_USER_ACCOUNTS)))
|
||||||
{{ Auth::user()->account->getDisplayName() }}
|
{{ Auth::user()->account->getDisplayName() }}
|
||||||
@else
|
@else
|
||||||
{{ Auth::user()->getDisplayName() }}
|
{{ Auth::user()->getDisplayName() }}
|
||||||
@endif
|
@endif
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
</div>
|
</div>
|
||||||
|
<span class="glyphicon glyphicon-user nav-account-icon" style="padding-left:0px"
|
||||||
|
title="{{ Auth::user()->account->getDisplayName() }}"/>
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu user-accounts">
|
<ul class="dropdown-menu user-accounts">
|
||||||
@if (session(SESSION_USER_ACCOUNTS))
|
@if (session(SESSION_USER_ACCOUNTS))
|
||||||
|
@ -87,7 +87,7 @@
|
|||||||
|
|
||||||
<div data-bind="with: client" class="invoice-contact">
|
<div data-bind="with: client" class="invoice-contact">
|
||||||
<div style="display:none" class="form-group" data-bind="visible: contacts().length > 0 && (contacts()[0].email() || contacts()[0].first_name()), foreach: contacts">
|
<div style="display:none" class="form-group" data-bind="visible: contacts().length > 0 && (contacts()[0].email() || contacts()[0].first_name()), foreach: contacts">
|
||||||
<div class="col-lg-8 col-lg-offset-4">
|
<div class="col-lg-8 col-lg-offset-4 col-sm-offset-4">
|
||||||
<label class="checkbox" data-bind="attr: {for: $index() + '_check'}" onclick="refreshPDF(true)">
|
<label class="checkbox" data-bind="attr: {for: $index() + '_check'}" onclick="refreshPDF(true)">
|
||||||
<input type="hidden" value="0" data-bind="attr: {name: 'client[contacts][' + $index() + '][send_invoice]'}">
|
<input type="hidden" value="0" data-bind="attr: {name: 'client[contacts][' + $index() + '][send_invoice]'}">
|
||||||
<input type="checkbox" value="1" data-bind="checked: send_invoice, attr: {id: $index() + '_check', name: 'client[contacts][' + $index() + '][send_invoice]'}">
|
<input type="checkbox" value="1" data-bind="checked: send_invoice, attr: {id: $index() + '_check', name: 'client[contacts][' + $index() + '][send_invoice]'}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user