Revert "feat: wrap search option bubbles if not enough space (#918)"
This reverts commit be6a9fdb34.
This commit is contained in:
@@ -12,7 +12,8 @@ const styles = {
|
||||
|
||||
const Bubble = ({ label, selected, onSelect }: BubbleProperties) => (
|
||||
<span
|
||||
className={`${styles.base} ${
|
||||
role="tab"
|
||||
className={`bubble ${styles.base} ${
|
||||
selected ? styles.selected : styles.unselected
|
||||
}`}
|
||||
onClick={onSelect}
|
||||
|
||||
@@ -182,7 +182,7 @@ export const NotesView: FunctionComponent<Props> = observer(
|
||||
</button>
|
||||
</div>
|
||||
<div className="filter-section" role="search">
|
||||
<div className="relative">
|
||||
<div>
|
||||
<input
|
||||
type="text"
|
||||
id="search-bar"
|
||||
|
||||
@@ -19,7 +19,11 @@ export const SearchOptions = observer(({ appState }: Props) => {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="search-options" onMouseDown={(e) => e.preventDefault()}>
|
||||
<div
|
||||
role="tablist"
|
||||
className="search-options justify-center"
|
||||
onMouseDown={(e) => e.preventDefault()}
|
||||
>
|
||||
<Bubble
|
||||
label="Protected Contents"
|
||||
selected={includeProtectedContents}
|
||||
|
||||
Reference in New Issue
Block a user