Fraser commited on
Commit
e752926
·
1 Parent(s): 213c234
src/lib/components/Piclets/PicletDetail.svelte CHANGED
@@ -242,10 +242,12 @@
242
  <button class="btn btn-danger" onclick={handleDelete}>Yes, Release</button>
243
  <button class="btn btn-secondary" onclick={() => showDeleteConfirm = false}>Cancel</button>
244
  {:else}
245
- <button class="btn btn-primary" onclick={handleShare} disabled={isSharing}>
246
- {isSharing ? 'Creating...' : 'Share Piclet'}
247
- </button>
248
- <button class="btn btn-danger" onclick={() => showDeleteConfirm = true}>Release Piclet</button>
 
 
249
  {/if}
250
  </div>
251
  </div>
@@ -608,7 +610,6 @@
608
  background: #007bff;
609
  color: white;
610
  width: 100%;
611
- margin-bottom: 8px;
612
  }
613
 
614
  .btn-primary:disabled {
 
242
  <button class="btn btn-danger" onclick={handleDelete}>Yes, Release</button>
243
  <button class="btn btn-secondary" onclick={() => showDeleteConfirm = false}>Cancel</button>
244
  {:else}
245
+ <div style="display: flex; flex-direction: column; gap: 8px;">
246
+ <button class="btn btn-primary" onclick={handleShare} disabled={isSharing}>
247
+ {isSharing ? 'Creating...' : 'Share Piclet'}
248
+ </button>
249
+ <button class="btn btn-danger" onclick={() => showDeleteConfirm = true}>Release Piclet</button>
250
+ </div>
251
  {/if}
252
  </div>
253
  </div>
 
610
  background: #007bff;
611
  color: white;
612
  width: 100%;
 
613
  }
614
 
615
  .btn-primary:disabled {