Skip to content

Commit

Permalink
Merge pull request opentripplanner#671 from ibi-group/metro-mode-sele…
Browse files Browse the repository at this point in the history
…ctor-spacing

Metro Mode Selector Spacing Adjustments
  • Loading branch information
miles-grant-ibigroup authored Oct 20, 2023
2 parents 4d18601 + 4914c1b commit 3a63d0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core-utils/src/planQuery.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ query Plan(
id
}
color
gtfsId: id
gtfsId
id: gtfsId
longName
shortName
textColor
Expand Down
5 changes: 3 additions & 2 deletions packages/trip-form/src/MetroModeSelector/SubSettingsPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const SettingsPanel = styled.fieldset`
export const SubSettingsCheckbox = styled(CheckboxSelector)<{
flexbox: boolean;
}>`
${props => (props.flexbox ? "align-items: center;" : "")};
${props => (props.flexbox ? "align-items: baseline;" : "")};
display: ${props => (props.flexbox ? "flex" : "inherit")};
margin-left: 4px;
Expand All @@ -60,13 +60,14 @@ export const SubSettingsCheckbox = styled(CheckboxSelector)<{
`;

const FormLabelIconWrapper = styled.span`
align-items: center;
align-items: baseline;
display: flex;
gap: 4px;
svg {
width: 16px;
height: 16px;
display: inline-block;
margin-bottom: 4px;
vertical-align: middle;
overflow: hidden;
}
Expand Down

0 comments on commit 3a63d0a

Please sign in to comment.