Browse Source

Merge branch 'fix-button-bar-clipped-when-scrolling' of gogsadmin/prayer-generator into master

gogsadmin 1 year ago
parent
commit
f1c136e1e7
1 changed files with 2 additions and 2 deletions
  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>
         <title><xsl:value-of select="name(current())"/></title>
       </head>
       </head>
       <body>
       <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">
         <form action="random">
-          <button type="submit">Generate</button>
+          <button type="submit" style="margin: 0.2em">Generate</button>
 	</form>
 	</form>
         </div>
         </div>
         <div style="position: relative; max-width: 68em; min-width: min(100%, 68em); left: 50%; transform: translate(max(-50%, -34em),0)">
         <div style="position: relative; max-width: 68em; min-width: min(100%, 68em); left: 50%; transform: translate(max(-50%, -34em),0)">