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() {
|
||||
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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue