Skip to content

Commit

Permalink
fix(modale): correction du layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Feb 14, 2024
1 parent 5f1b38b commit fff17bd
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion dist/extension/css/styles.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/extension/css/styles.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/serveur/css/styles.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/serveur/css/styles.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/css/styles.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/app/pages/settings/categories/layout.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tmplLayout.innerHTML = `
</div>
<div class="accordion-collapse collapse" id="category-layout">
<div class="accordion-body px-3">
<div class="c-category__settings-container d-flex flex-column gap-2">
<div class="c-category__settings-container gap-2">
<app-margin-align class="c-category__setting" data-can-edit="true"></app-margin-align>
</div>
<button class="c-category__btn-more btn btn-tertiary mt-3" type="button" data-i18n="moreSettings"></button>
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/settings/categories/navigation.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tmplNavigation.innerHTML = `
</div>
<div class="accordion-collapse collapse" id="category-navigation">
<div class="accordion-body px-3">
<div class="c-category__settings-container d-flex flex-column gap-2">
<div class="c-category__settings-container gap-2">
<app-focus-aspect class="c-category__setting" data-can-edit="true"></app-focus-aspect>
<app-scroll class="c-category__setting" data-can-edit="true"></app-scroll>
<app-link-style class="c-category__setting" data-can-edit="true"></app-link-style>
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/settings/categories/pointer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tmplPointer.innerHTML = `
</div>
<div class="accordion-collapse collapse" id="category-pointer">
<div class="accordion-body px-3">
<div class="c-category__settings-container d-flex flex-column gap-2">
<div class="c-category__settings-container gap-2">
<app-cursor-aspect class="c-category__setting" data-can-edit="true"></app-cursor-aspect>
</div>
<button class="c-category__btn-more btn btn-tertiary mt-3" type="button" data-i18n="moreSettings"></button>
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/settings/categories/text.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tmplText.innerHTML = `
</div>
<div class="accordion-collapse collapse" id="category-text">
<div class="accordion-body px-3">
<div class="c-category__settings-container d-flex flex-column gap-2">
<div class="c-category__settings-container gap-2">
<app-font-family class="c-category__setting" data-can-edit="true"></app-font-family>
<app-text-size class="c-category__setting" data-can-edit="true"></app-text-size>
<app-color-contrast class="c-category__setting" data-can-edit="true"></app-color-contrast>
Expand Down
8 changes: 6 additions & 2 deletions src/styles/06-components/btn-modal.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
app-btn-modal {
flex: 1;
}

.sc-btn-modal {
clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
min-width: 6em;
clip-path: polygon(0 0, 75% 0, 100% 50%, 75% 100%, 0 100%);
text-align: left;
}
8 changes: 0 additions & 8 deletions src/styles/06-components/btn-setting.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
app-btn-setting {
flex: 1;
max-width: 12em;
height: 100%;
min-height: 7.5em;
}

.sc-btn-setting--with-btn-modal {
flex: inherit;
width: 10em;
}

.sc-btn-setting {
height: 100%;
min-height: 7.5em;

&:hover > ul > li.border.border-4 {
Expand Down
5 changes: 5 additions & 0 deletions src/styles/06-components/mode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@
height: 100%;
}
}

.c-category__settings-container {
display: grid;
grid-auto-rows: 7.5em;
}

0 comments on commit fff17bd

Please sign in to comment.