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() { selects() {
return ( return (
<div className="row g-2 mb-2"> <div className="row row-cols-auto g-2 mb-2">
<div className="col-auto">{this.unreadOrAllRadios()}</div> <div className="col">{this.unreadOrAllRadios()}</div>
<div className="col-auto">{this.messageTypeRadios()}</div> <div className="col">{this.messageTypeRadios()}</div>
<div className="col-auto"> <div className="col">
<CommentSortSelect <CommentSortSelect
sort={this.state.sort} sort={this.state.sort}
onChange={this.handleSortChange} onChange={this.handleSortChange}

View file

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