mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +00:00
Merge pull request #5895 from strapi/front/global-improvements
Some UI fixes
This commit is contained in:
commit
bbbd14fb4d
@ -3,6 +3,9 @@ import styled from 'styled-components';
|
|||||||
const SearchButton = styled.button`
|
const SearchButton = styled.button`
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
|
&:focus {
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export default SearchButton;
|
export default SearchButton;
|
||||||
|
@ -3,6 +3,7 @@ import styled from 'styled-components';
|
|||||||
const LeftMenuListLink = styled.div`
|
const LeftMenuListLink = styled.div`
|
||||||
max-height: 180px;
|
max-height: 180px;
|
||||||
margin-bottom: 19px;
|
margin-bottom: 19px;
|
||||||
|
margin-right: 28px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
@ -6,7 +6,17 @@ const List = styled.ul`
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
max-height: 178px;
|
max-height: 178px;
|
||||||
overflow-y: scroll;
|
overflow-y: auto;
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background: transparent;
|
||||||
|
&:hover {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
|
@ -3,7 +3,6 @@ import styled from 'styled-components';
|
|||||||
const Wrapper = styled.div`
|
const Wrapper = styled.div`
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 27px;
|
margin-bottom: 27px;
|
||||||
|
|
||||||
label {
|
label {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user