Skip to content

Commit

Permalink
Fix z-index of timestamp dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
DJDavid98 committed Jan 24, 2022
1 parent 98a7e14 commit 1a15eea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TimestampsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const IconCol: VoidFunctionComponent<{ i: number }> = ({ i }) => {
};

const CopySyntax: VoidFunctionComponent<{ syntax: string; className?: string }> = ({ syntax, className }) => (
<InputGroup className={classNames(`${styles.syntaxInputGroup} flex-nowrap ${syntaxJustifyClasses}`, className)}>
<InputGroup className={classNames(`flex-nowrap ${syntaxJustifyClasses}`, className)}>
<CopyToClipboard text={syntax}>
<Button color="discord">
<FontAwesomeIcon icon="clipboard" />
Expand Down
2 changes: 2 additions & 0 deletions src/scss/modules/TimestampPicker.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
@import '~bootstrap/scss/variables';

.datepicker {
position: relative;
z-index: 3;
margin-bottom: 1rem;

.form-label {
Expand Down

0 comments on commit 1a15eea

Please sign in to comment.