fix add tools button from catalog position
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s

This commit is contained in:
Shinuwa 2026-10-22 23:40:03 +02:00
parent dc9473242a
commit ffb020ee98
3 changed files with 45 additions and 40 deletions

View file

@ -1,23 +1,4 @@
// Rôle : met en page l'action et la modale de copie des exemples de la librairie.
.library-tool-copy-action {
display: flex;
max-width: 860px;
align-items: center;
justify-content: space-between;
gap: var(--space-4);
margin-top: var(--space-4);
padding-top: var(--space-3);
border-top: 1px solid var(--color-border);
}
.library-tool-copy-action p {
color: var(--color-text-muted);
font-size: var(--font-size-sm);
}
.library-tool-copy-action .nds-button {
flex: 0 0 auto;
}
// Rôle : met en page la modale de copie des exemples de la librairie.
.library-copy-modal {
width: min(580px, calc(100vw - var(--space-6)));
@ -116,11 +97,6 @@
}
@media (max-width: 767px) {
.library-tool-copy-action {
align-items: flex-start;
flex-direction: column;
}
.library-copy-destination {
grid-template-columns: minmax(0, 1fr);
}

View file

@ -74,7 +74,17 @@
}
.library-tool-intro {
display: grid;
min-width: 0;
gap: var(--space-2);
}
.library-tool-intro-heading {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
min-width: 0;
align-items: start;
gap: var(--space-4);
}
.library-tool-title-row {
@ -110,3 +120,22 @@
.library-tool-intro p {
max-width: 860px;
}
.library-tool-intro .library-tool-copy-help {
color: var(--color-text-muted);
font-size: var(--font-size-sm);
}
.library-tool-copy-button {
flex: 0 0 auto;
}
@media (max-width: 520px) {
.library-tool-intro-heading {
grid-template-columns: minmax(0, 1fr);
}
.library-tool-copy-button {
justify-self: start;
}
}