Browse Source

Fixed class 'fixed' XSS

pull/6/head
Menci 8 years ago
parent
commit
03bc18738b
  1. 16
      static/libs/semantic-ui/semantic.min.css
  2. 2
      views/header.ejs

16
static/libs/semantic-ui/semantic.min.css vendored

File diff suppressed because one or more lines are too long

2
views/header.ejs

@ -14,7 +14,7 @@
<script src="/libs/jquery/jquery.min.js"></script>
</head>
<body>
<div class="ui fixed borderless menu">
<div class="ui fixed borderless menu" style="position: fixed; ">
<div class="ui container">
<a class="header item" href="/"><span style="font-family: Raleway; font-size: 1.5em; font-weight: 300; "><%= syzoj.config.title %></span></a>
<a class="item<% if (active === '') { %> active<% } %>" href="/"><i class="home icon"></i> 首页</a>

Loading…
Cancel
Save