浏览代码

fix styling so that button bar does not get clipped when scrolling

Pi 1 年之前
父节点
当前提交
71eed0e32e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      xml/pg_view_style.xsl

+ 2 - 2
xml/pg_view_style.xsl

@@ -30,9 +30,9 @@ All rights reserved.
         <title><xsl:value-of select="name(current())"/></title>
       </head>
       <body>
-        <div style="background: darkgray; position: sticky; top: 0; padding: 0.2em; width: 100%; z-index: 1; text-align: center;">
+        <div style="background: darkgray; position: sticky; top: 0; margin: 0; padding: 0; width: 100%; z-index: 1; text-align: center;">
         <form action="random">
-          <button type="submit">Generate</button>
+          <button type="submit" style="margin: 0.2em">Generate</button>
 	</form>
         </div>
         <div style="position: relative; max-width: 68em; min-width: min(100%, 68em); left: 50%; transform: translate(max(-50%, -34em),0)">