Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
improve dropdown styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry Archibald committed Aug 15, 2022
1 parent c063114 commit e1edc2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

.mx_FilteredDeviceList {
.mx_Dropdown {
flex: 1 0 80px;
}
}

.mx_FilteredDeviceList_header {
display: flex;
flex-direction: row;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const FilteredDeviceList: React.FC<Props> = ({ devices, filter, onFilterChange }
onFilterChange(filterId === ALL_FILTER_ID ? undefined : filterId as DeviceSecurityVariation);
};

return <div>
return <div className='mx_FilteredDeviceList'>
<div className='mx_FilteredDeviceList_header'>
<span className='mx_FilteredDeviceList_headerLabel'>
{ _t('Sessions') }
Expand Down

0 comments on commit e1edc2b

Please sign in to comment.