Browse Source

fix scrollbar hack to wrk with top and bottom page borders

max.mehl 6 months ago
parent
commit
14617bd508
No account linked to committer's email address
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      static/css/custom.css

+ 1
- 2
static/css/custom.css View File

@@ -22,11 +22,10 @@ div.container h1 {
22 22
 /* Avoid scrollbar jumps in centering 
23 23
  * see https://css-tricks.com/eliminate-jumps-in-horizontal-centering-by-forcing-a-scroll-bar/
24 24
  */
25
-html { 
25
+div#wrap { 
26 26
   margin-left: calc(100vw - 100%);
27 27
 }
28 28
 
29
-
30 29
 div.avatar img {
31 30
   max-height: 190px;
32 31
 }

Loading…
Cancel
Save