diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-01-15 19:32:56 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-01-19 15:51:16 +0000 |
commit | 9232c62b050f5b9371b3c74dfe57e87ad186b9c9 (patch) | |
tree | 0eba0334066bf38796392f314366f712da519f06 /web | |
parent | 3d5e0210feacf96e21e1916ab0df84b83f5f05e2 (diff) |
Pad internal update links so they are in view.
Fixes #1308.
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/sass/_layout.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss index a2dd1a8a0..96b3d2aec 100644 --- a/web/cobrands/sass/_layout.scss +++ b/web/cobrands/sass/_layout.scss @@ -3,6 +3,14 @@ $image-sprite: '/cobrands/fixmystreet/images/sprite.png' !default; +.internal-link-fixed-header { + display: block; + /* 5em is roughly the height of .nav-wrapper-2 (4em) plus the border-top on + .nav-wrapper-2 (4px), plus the padding-top on .item-list__item (0.5em). */ + padding-top: 5em; + margin-top: -5em; +} + //hacks for desk/mob only stuff .desk-only { display: block; |