Merge pull request #5895 from strapi/front/global-improvements

Some UI fixes
This commit is contained in:
cyril lopez 2020-04-22 16:30:34 +02:00 committed by GitHub
commit bbbd14fb4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 2 deletions

View File

@ -3,6 +3,9 @@ import styled from 'styled-components';
const SearchButton = styled.button`
padding: 0 10px;
line-height: normal;
&:focus {
outline: 0;
}
`;
export default SearchButton;

View File

@ -3,6 +3,7 @@ import styled from 'styled-components';
const LeftMenuListLink = styled.div`
max-height: 180px;
margin-bottom: 19px;
margin-right: 28px;
overflow: auto;
`;

View File

@ -6,7 +6,17 @@ const List = styled.ul`
margin-bottom: 0;
padding-left: 0;
max-height: 178px;
overflow-y: scroll;
overflow-y: auto;
::-webkit-scrollbar {
background: transparent;
}
::-webkit-scrollbar-track {
background: transparent;
&:hover {
background: transparent;
}
}
li {
position: relative;
margin-bottom: 2px;

View File

@ -3,7 +3,6 @@ import styled from 'styled-components';
const Wrapper = styled.div`
position: relative;
margin-bottom: 27px;
label {
width: 100%;
overflow: hidden;