From 1bab78eb08046b88c50ca6e172dd6f313c1c69d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Juli=C3=A1n?= Date: Wed, 4 Jun 2014 12:25:33 +0200 Subject: [PATCH] fixed nav for long pages --- app/styles/layout/base.scss | 1 + app/styles/modules/nav.scss | 2 ++ app/views/modules/backlog-table.jade | 23 ++++++++++++----------- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/app/styles/layout/base.scss b/app/styles/layout/base.scss index 2252f731..30742ff6 100644 --- a/app/styles/layout/base.scss +++ b/app/styles/layout/base.scss @@ -38,6 +38,7 @@ body { flex-shrink: 0; flex-basis: 200px; padding: 2em; + padding-left: calc(2em + 90px); } .icon { diff --git a/app/styles/modules/nav.scss b/app/styles/modules/nav.scss index 06b4cc92..b54dad9f 100644 --- a/app/styles/modules/nav.scss +++ b/app/styles/modules/nav.scss @@ -6,6 +6,8 @@ flex-wrap: wrap; padding: 2em .3em; font-family: 'ostrichSans'; + height: 100%; + position: fixed; } .logo { diff --git a/app/views/modules/backlog-table.jade b/app/views/modules/backlog-table.jade index be21be0f..1897d921 100644 --- a/app/views/modules/backlog-table.jade +++ b/app/views/modules/backlog-table.jade @@ -9,14 +9,15 @@ section.backlog-table div.status.width-2 div.points.width-1 Front div.points.width-1 Back - div.row.table-main - div.user-stories.width-4 - input(type="checkbox", name="") - a(href="") Crear el perfil de usuario Senior en el admin - a(href="", title="Edit") - span.icon.icon-edit - a(href="", title="Delete") - span.icon.icon-delete - div.status.width-2 Status - div.points.width-1 Front - div.points.width-1 Back + - for (var x = 0; x < 50; x++) + div.row.table-main + div.user-stories.width-4 + input(type="checkbox", name="") + a(href="") Crear el perfil de usuario Senior en el admin + a(href="", title="Edit") + span.icon.icon-edit + a(href="", title="Delete") + span.icon.icon-delete + div.status.width-2 Status + div.points.width-1 Front + div.points.width-1 Back