pakdeveloper commited on
Commit
20e14f6
·
verified ·
1 Parent(s): f63f523

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +7 -4
index.html CHANGED
@@ -9,12 +9,12 @@
9
  margin: 0;
10
  padding: 0;
11
  box-sizing: border-box;
12
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
13
  }
14
 
15
  body {
16
  min-height: 100vh;
17
  background: #FAFAFA;
 
18
  }
19
 
20
  .container {
@@ -142,11 +142,12 @@
142
  .modal {
143
  position: fixed;
144
  inset: 0;
145
- background: rgba(0,0,0,0.8);
146
  display: none;
147
  align-items: center;
148
  justify-content: center;
149
  z-index: 50;
 
150
  }
151
 
152
  .modal.active {
@@ -154,9 +155,11 @@
154
  }
155
 
156
  .modal img {
157
- max-width: 90vw;
158
- max-height: 90vh;
159
  object-fit: contain;
 
 
160
  }
161
 
162
  .toast {
 
9
  margin: 0;
10
  padding: 0;
11
  box-sizing: border-box;
 
12
  }
13
 
14
  body {
15
  min-height: 100vh;
16
  background: #FAFAFA;
17
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
18
  }
19
 
20
  .container {
 
142
  .modal {
143
  position: fixed;
144
  inset: 0;
145
+ background: rgba(0,0,0,0.9);
146
  display: none;
147
  align-items: center;
148
  justify-content: center;
149
  z-index: 50;
150
+ padding: 20px;
151
  }
152
 
153
  .modal.active {
 
155
  }
156
 
157
  .modal img {
158
+ max-width: 95%;
159
+ max-height: 95vh;
160
  object-fit: contain;
161
+ height: auto;
162
+ width: auto;
163
  }
164
 
165
  .toast {