Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
leximpact-dotations-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur dotations aux communes
leximpact-dotations-ui
Commits
84a32353
Commit
84a32353
authored
2 months ago
by
sandcha
Browse files
Options
Downloads
Patches
Plain Diff
Corrige le dépassement des titres des boutons modification en largeur
parent
6badb577
No related branches found
No related tags found
1 merge request
!25
Corrige des dimensions des composants sur petit écran
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/components/rules/ModificationsPanel.svelte
+3
-3
3 additions, 3 deletions
src/lib/components/rules/ModificationsPanel.svelte
with
3 additions
and
3 deletions
src/lib/components/rules/ModificationsPanel.svelte
+
3
−
3
View file @
84a32353
...
...
@@ -11,7 +11,7 @@
// Le style d'un bouton sans le positionnement extérieur et sans les dimensions
const
GRAY_BUTTON_STYLE
=
"
rounded-md shadow-md hover:bg-opacity-90 focus:outline-none bg-gray-200 text-gray-600
text-nowrap
uppercase cursor-default
"
"
rounded-md shadow-md hover:bg-opacity-90 focus:outline-none bg-gray-200 text-gray-600 uppercase cursor-default
"
const
YELLOW_BUTTON_STYLE
=
"
rounded-md border border-white bg-le-jaune-dark font-bold uppercase tracking-[0.085em] text-white shadow-lg transition-all duration-200 hover:border-le-jaune-dark hover:bg-gray-100 hover:text-le-jaune-dark active:bg-gray-200 disabled:scale-90 disabled:opacity-0 uppercase
"
...
...
@@ -79,14 +79,14 @@
<div>
{
#if
modificationsNumber
==
0
}
<button
class=
"ease-out-back items-center {GRAY_BUTTON_STYLE}
flex h-8 grow-0 items-center px-5 py
-2 text-sm lg:right-5 xl:right-10"
class=
"ease-out-back items-center {GRAY_BUTTON_STYLE}
p
-2 text-sm lg:right-5 xl:right-10"
>
AUCUNE MODIFICATION
</button>
{
:
else
}
<div
class=
"relative my-4 inline-block"
>
<button
class=
"ease-out-back items-center {YELLOW_BUTTON_STYLE} p
x-5 py
-2 text-sm lg:right-5 xl:right-10"
class=
"ease-out-back items-center {YELLOW_BUTTON_STYLE} p-2 text-sm lg:right-5 xl:right-10"
onclick=
{
()
=>
(
openPanel
=
!
openPanel
)
}
>
MODIFICATIONS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment