Skip to content

Commit

Permalink
🪟 🐛 Fix UI issues in connection streams table (airbytehq#18544)
Browse files Browse the repository at this point in the history
* Fix PathPopout styling
* Ensure that text overflow still works
* Only show tooltip when there is more than 1
* Use caret instad of sort icon so that it's centered

* Fix option content for SyncSettignsDropdown so that it fits

* Fix @forward on StreamHeader scss

* Rollback tooltip updates
  • Loading branch information
edmundito authored and jhammarstedt committed Oct 31, 2022
1 parent d0b509b commit 5868bb8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
flex-direction: row;
justify-content: space-between;
gap: variables.$spacing-sm;
max-width: 100%;
padding: 8px;
border-radius: variables.$border-radius-xs;
background-color: colors.$grey-100;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { faSortDown } from "@fortawesome/free-solid-svg-icons";
import { faCaretDown } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import React from "react";

Expand All @@ -23,7 +23,7 @@ export const PathPopoutButton: React.FC<React.PropsWithChildren<PathPopoutButton
<Text size="sm" className={styles.text}>
{children}
</Text>
<FontAwesomeIcon className={styles.arrow} icon={faSortDown} />
<FontAwesomeIcon className={styles.arrow} icon={faCaretDown} />
</button>
}
placement="bottom-start"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@use "scss/colors";
@use "scss/variables";
@forward "./CatalogTreeBody.module.scss";
@forward "./CatalogTreeHeader.module.scss";

.icon {
margin-right: 7px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ const Title = styled.span`

const OptionContent = styled(OptionView)`
justify-content: left;
font-size: 12px;
font-size: 11px;
padding: 10px;
`;

const DropdownControl = styled(components.Control)<ControlProps<DropDownOptionDataItem, false>>`
Expand All @@ -74,7 +75,7 @@ const Mode: React.FC<{
}> = (props) => {
return (
<>
<Title> {props.title}:</Title>
<Title>{props.title}:</Title>
<div>{props.label}</div>
{props.separator ? <Separator>{props.separator}</Separator> : null}
</>
Expand Down

0 comments on commit 5868bb8

Please sign in to comment.