Browse Source

fix: Improve body visibility handling on page load

Manuel 1 năm trước cách đây
mục cha
commit
8737aee868
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  1. 1 1
      templates/base.html

+ 1 - 1
templates/base.html

@@ -14,7 +14,7 @@
     <link rel="stylesheet" href="{{ url_for('static', filename='all.min.css') }}"> <!-- Font Awesome -->
     <link rel="stylesheet" href="{{ url_for('static', filename='all.min.css') }}"> <!-- Font Awesome -->
     <link rel="stylesheet" href="{{ url_for('static', filename='logs.css') }}">
     <link rel="stylesheet" href="{{ url_for('static', filename='logs.css') }}">
 </head>
 </head>
-<body class="overflow-x-hidden overflow-auto">
+<body class="overflow-x-hidden overflow-auto" style="visibility: hidden;" onload="document.body.style.visibility='visible';">
     <!-- Barra de navegación común -->
     <!-- Barra de navegación común -->
     <div class="relative">
     <div class="relative">
         {% include 'components/navbar.html' %}
         {% include 'components/navbar.html' %}