Skip to content

Commit

Permalink
front:stdcm: align things in sillons menus
Browse files Browse the repository at this point in the history
fixes #4481
#4481
front:stdcm: update classes for stdcm
  • Loading branch information
blemoineovh committed Dec 12, 2023
1 parent e78edcf commit 43add1b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion front/src/applications/stdcm/components/RunningTime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function RunningTime({ dispatch = noop }: RunningTimeProps) {

return (
<div className="d-flex mb-2 align-items-center osrd-config-item-container">
<div className="text-orange mr-2 ml-1">
<div className="text-orange mr-2">
<RxLapTimer />
</div>
<div className="font-weight-bold mr-2 flex-grow-1">{t('maximumRunTime')}</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function IsolatedSpeedLimitByTagSelector({
condensed ? 'd-flex align-items-center gap-10' : ''
}`}
>
<img width="32px" className="mr-2" src={icon} alt="infraIcon" />
<img width="32px" src={icon} alt="speedometer" />
<span className="text-muted">{t('speedLimitByTag')}</span>
<SelectImprovedSNCF
sm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const StdcmAllowances = () => {
};

return (
<div className="d-flex mb-2 osrd-config-item-container">
<div className="d-flex mb-2 osrd-config-item-container px-0">
<div className="col-3">
<InputSNCF
id="standardAllowanceTypeGridMarginBefore"
Expand Down
2 changes: 1 addition & 1 deletion front/src/styles/scss/common/components/_typeAndPath.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.type-and-path {
position: relative;

background-color: var(--white);
padding: 0.5rem;
border-radius: var(--border-radius);
.help {
position: relative;
display: flex;
align-items: center;
justify-content: center;
height: 5rem;
max-width: 21vw;
overflow: auto;
Expand Down

0 comments on commit 43add1b

Please sign in to comment.