Skip to content

Commit

Permalink
Paths can not be relative - as /static is mapped
Browse files Browse the repository at this point in the history
  • Loading branch information
ranguard committed Feb 1, 2014
1 parent d040c29 commit 5b1d9b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/Plack/Middleware/MCLess.pm
Expand Up @@ -13,7 +13,7 @@ our $VERSION = '0.02';
use parent qw(Plack::Middleware);
use Digest::MD5 qw(md5_hex);
use Plack::Util;
use Plack::Util::Accessor qw(root files key expires cache cache_ttl);
use Plack::Util::Accessor qw(files key expires cache cache_ttl);
use Capture::Tiny ':all';
use HTTP::Date ();

Expand Down
10 changes: 4 additions & 6 deletions root/static/less/style.less
@@ -1,14 +1,12 @@


@import "bootstrap/bootstrap.less";
@import "account.less";
@import "breadcrumbs.less";
@import "search.less";
@import "table.less";
@import "author.less";

@iconSpritePath: "../icons/glyphicons-halflings.png";
@iconWhiteSpritePath: "../icons/glyphicons-halflings-white.png";
@iconSpritePath: "/static/icons/glyphicons-halflings.png";
@iconWhiteSpritePath: "/static/icons/glyphicons-halflings-white.png";

@linkColor: #3366cc;
@textColor: @black;
Expand Down Expand Up @@ -54,11 +52,11 @@
@shadow: inset -1px 0px 0 #e9e9e9, inset 1px 0px 0 #e9e9e9;
.box-shadow(@shadow);
z-index: 9999;

}
position: relative;
top: -2px;

.dropdown-menu {
margin-top: -1px;
border: 1px solid #e9e9e9;
Expand Down

0 comments on commit 5b1d9b9

Please sign in to comment.