Skip to content

Commit

Permalink
stylelint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmmcken committed Jan 12, 2024
1 parent cc1f8e1 commit c53e908
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions packages/code-studio/src/styleguide/TimeSliderInputs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ class TimeSliderInputs extends PureComponent<
}

render(): React.ReactElement {
const { startTime, endTime } = this.state;
const isStartModified = startTime !== this.state.initialStartTime;
const isEndModified = endTime !== this.state.initialEndTime;
const { startTime, endTime, initialStartTime, initialEndTime } = this.state;
const isStartModified = startTime !== initialStartTime;
const isEndModified = endTime !== initialEndTime;
return (
<div
{...sampleSectionIdAndClasses('time-slider-inputs', [
Expand Down
1 change: 1 addition & 0 deletions packages/components/scss/bootstrap_overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ $input-btn-line-height: 1.3;
// Bootstrap uses a calc expression to determine the input height (calc(line-height + 2*padding-y + border)).
// The padding-y value has to be in rem to match units as it is a SASS calc.
// Using 0.42145rem with 1.3 line height gets us to spectrum's 32px.
/* stylelint-disable-next-line number-max-precision */
$input-btn-padding-y: 0.42145rem;

//checkbox
Expand Down
9 changes: 5 additions & 4 deletions packages/components/src/HierarchicalCheckboxMenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
margin-right: 4px;
}
}

.hcm-btn:focus {
border-color: $input-focus-border-color;
}

.hcm-btn:hover:not(:disabled) {
border-color: var(--dh-color-input-hover-border);
color: var(--dh-color-selector-hover-fg);
Expand All @@ -29,10 +34,6 @@
}
}

.hcm-btn:focus {
border-color: $input-focus-border-color;
}

.hcm-menu-container {
padding: $spacer-2;
.hcm-parent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import React, {
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import Log from '@deephaven/log';
import { ColorUtils } from '@deephaven/utils';
import { dhSort, vsCheck } from '@deephaven/icons';
import { vsCheck } from '@deephaven/icons';
import { Button, DropdownMenu } from '@deephaven/components';
import {
FormatStyleType,
Expand Down

0 comments on commit c53e908

Please sign in to comment.