Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Navigator: clip links outside the page.

  • Loading branch information...
commit 0c89a73a47e782ebbab4076030b7008e5086cbd3 1 parent 477b849
@SimonSapin SimonSapin authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  weasyprint/navigator.py
View
3  weasyprint/navigator.py
@@ -78,7 +78,8 @@ def render_template(url):
border-radius: 6px; padding: 0 3px }
input:not([type]):focus { outline: none }
body { margin-top: 0; padding-top: 50px }
- section { box-shadow: 0 0 10px 2px #aaa; margin: 25px; position: relative }
+ section { box-shadow: 0 0 10px 2px #aaa; margin: 25px;
+ position: relative; overflow: hidden; }
section a { position: absolute; display: block }
section a[href]:hover, a[href]:focus { outline: 1px dotted }
nav { margin: 25px }
Please sign in to comment.
Something went wrong with that request. Please try again.