mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-10 05:23:09 +00:00
ux: dedupe community edit modal via ui-card
This commit is contained in:
parent
0ecade3c71
commit
ba31b7ce38
1 changed files with 1 additions and 4 deletions
|
|
@ -267,7 +267,7 @@ const { slug } = Astro.params;
|
|||
const modal = document.createElement('div');
|
||||
modal.className = 'edit-modal';
|
||||
modal.innerHTML = `
|
||||
<div class="modal-content">
|
||||
<div class="modal-content ui-card ui-card-pad-xl">
|
||||
<h2>Edit Community</h2>
|
||||
<form id="edit-community-form">
|
||||
<div class="form-group">
|
||||
|
|
@ -453,10 +453,7 @@ const { slug } = Astro.params;
|
|||
}
|
||||
|
||||
.modal-content {
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 12px;
|
||||
padding: 2rem;
|
||||
width: 100%;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue