Add text to filters button on small screens
The FilterBar showed a left aligned filter icon on mobile for months and it was driving me insane
This commit is contained in:
parent
601ba8a535
commit
4091402cfc
4 changed files with 20 additions and 0 deletions
|
|
@ -102,6 +102,23 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.Filter.Button {
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
.Text {
|
||||||
|
display: none;
|
||||||
|
width: auto;
|
||||||
|
|
||||||
|
@include breakpoint(tablet) {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint(phone) {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.UserInfo {
|
.UserInfo {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
|
|
@ -181,6 +181,7 @@ const FilterBar = (props: Props) => {
|
||||||
className={filterButtonClasses}
|
className={filterButtonClasses}
|
||||||
blended={true}
|
blended={true}
|
||||||
leftAccessoryIcon={<FilterIcon />}
|
leftAccessoryIcon={<FilterIcon />}
|
||||||
|
text={t('filters.name')}
|
||||||
onClick={() => setFilterModalOpen(true)}
|
onClick={() => setFilterModalOpen(true)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,7 @@
|
||||||
"unauthorized": "You don't have permission to perform that action"
|
"unauthorized": "You don't have permission to perform that action"
|
||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
|
"name": "Filter",
|
||||||
"labels": {
|
"labels": {
|
||||||
"element": "Element",
|
"element": "Element",
|
||||||
"series": "Series",
|
"series": "Series",
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,7 @@
|
||||||
"unauthorized": "行ったアクションを実行する権限がありません"
|
"unauthorized": "行ったアクションを実行する権限がありません"
|
||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
|
"name": "フィルター",
|
||||||
"labels": {
|
"labels": {
|
||||||
"element": "属性",
|
"element": "属性",
|
||||||
"series": "シリーズ",
|
"series": "シリーズ",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue