Corran commited on
Commit
a2a19fd
1 Parent(s): f8d0fe6

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +15 -1
style.css CHANGED
@@ -202,13 +202,27 @@ article > .sticky-content {
202
 
203
  .dialog {
204
  display: none;
205
- position: absolute;
206
  background-color: white;
207
  border: 1px solid #ccc;
208
  padding: 10px;
209
  z-index: 1000;
210
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 
 
211
  }
 
 
 
 
 
 
 
 
 
 
 
 
212
  .close-button {
213
  display: inline-block;
214
  margin-top: 10px;
 
202
 
203
  .dialog {
204
  display: none;
205
+ position: fixed;
206
  background-color: white;
207
  border: 1px solid #ccc;
208
  padding: 10px;
209
  z-index: 1000;
210
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
211
+ overflow-y: auto;
212
+
213
  }
214
+
215
+ .dialog-overlay {
216
+ position: fixed;
217
+ top: 0;
218
+ left: 0;
219
+ width: 100%;
220
+ height: 100%;
221
+ background-color: rgba(0, 0, 0, 0.5);
222
+ z-index: 999;
223
+ display: none;
224
+ }
225
+
226
  .close-button {
227
  display: inline-block;
228
  margin-top: 10px;