fix: Simplify row classes a bit

This commit is contained in:
Jay Sitter 2023-07-02 13:43:28 -04:00
parent 302c6b496d
commit 93d0bc44ea
2 changed files with 8 additions and 8 deletions

View file

@ -382,10 +382,10 @@ export class Inbox extends Component<any, InboxState> {
selects() {
return (
<div className="row g-2 mb-2">
<div className="col-auto">{this.unreadOrAllRadios()}</div>
<div className="col-auto">{this.messageTypeRadios()}</div>
<div className="col-auto">
<div className="row row-cols-auto g-2 mb-2">
<div className="col">{this.unreadOrAllRadios()}</div>
<div className="col">{this.messageTypeRadios()}</div>
<div className="col">
<CommentSortSelect
sort={this.state.sort}
onChange={this.handleSortChange}

View file

@ -546,8 +546,8 @@ export class Search extends Component<any, SearchState> {
return (
<>
<div className="row g-2 mb-2 mb-sm-3">
<div className="col-auto">
<div className="row row-cols-auto g-2 mb-2 mb-sm-3">
<div className="col">
<select
value={type}
onChange={linkEvent(this, this.handleTypeChange)}
@ -566,7 +566,7 @@ export class Search extends Component<any, SearchState> {
))}
</select>
</div>
<div className="col-auto">
<div className="col">
<ListingTypeSelect
type_={listingType}
showLocal={showLocal(this.isoData)}
@ -574,7 +574,7 @@ export class Search extends Component<any, SearchState> {
onChange={this.handleListingTypeChange}
/>
</div>
<div className="col-auto">
<div className="col">
<SortSelect
sort={sort}
onChange={this.handleSortChange}