pakdeveloper commited on
Commit
362a53c
·
verified ·
1 Parent(s): 669a5ef

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +6 -6
index.html CHANGED
@@ -175,11 +175,11 @@
175
  }
176
 
177
  .url-input-container {
178
- margin: 10px 0;
179
  display: flex;
180
  gap: 10px;
181
  width: 100%;
182
- max-width: 400px;
183
  }
184
 
185
  .url-input {
@@ -218,6 +218,10 @@
218
  <body>
219
  <div class="container">
220
  <h1>Image Gallery</h1>
 
 
 
 
221
  <div class="upload-zone" id="uploadZone">
222
  <div class="upload-zone-content">
223
  <svg class="upload-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
@@ -225,10 +229,6 @@
225
  </svg>
226
  <div class="upload-text">Click or drag and drop your images here</div>
227
  <div class="upload-subtext">Supports: JPG, PNG, GIF</div>
228
- <div class="url-input-container">
229
- <input type="text" id="urlInput" placeholder="Or paste image URL here" class="url-input">
230
- <button class="url-button" onclick="addImageFromUrl()">Add URL</button>
231
- </div>
232
  <button class="select-button">Select Image</button>
233
  </div>
234
  <input type="file" id="fileInput" accept="image/*" multiple hidden>
 
175
  }
176
 
177
  .url-input-container {
178
+ margin: 20px 0;
179
  display: flex;
180
  gap: 10px;
181
  width: 100%;
182
+ max-width: 600px;
183
  }
184
 
185
  .url-input {
 
218
  <body>
219
  <div class="container">
220
  <h1>Image Gallery</h1>
221
+ <div class="url-input-container">
222
+ <input type="text" id="urlInput" placeholder="Paste image URL here" class="url-input">
223
+ <button class="url-button" onclick="addImageFromUrl()">Add URL</button>
224
+ </div>
225
  <div class="upload-zone" id="uploadZone">
226
  <div class="upload-zone-content">
227
  <svg class="upload-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
 
229
  </svg>
230
  <div class="upload-text">Click or drag and drop your images here</div>
231
  <div class="upload-subtext">Supports: JPG, PNG, GIF</div>
 
 
 
 
232
  <button class="select-button">Select Image</button>
233
  </div>
234
  <input type="file" id="fileInput" accept="image/*" multiple hidden>