mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-09 01:54:02 +00:00
fix: Simplify row classes a bit
This commit is contained in:
parent
302c6b496d
commit
93d0bc44ea
|
@ -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}
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue