Skip to content
Snippets Groups Projects
Commit 8785aaf5 authored by chris's avatar chris
Browse files

new tool styling

parent ad9b9b85
No related branches found
No related tags found
1 merge request!339new toolgroup files
......@@ -51,7 +51,6 @@ export default {
'Images',
'Tables',
'MultipleDropDown',
'MultipleChoice',
'FillTheGap',
'FullScreen',
],
......
......@@ -17,6 +17,7 @@ const DropdownStyled = styled(Dropdown)`
.Dropdown-control {
border: none;
padding-top: 12px;
&:hover {
box-shadow: none;
......@@ -24,8 +25,7 @@ const DropdownStyled = styled(Dropdown)`
}
.Dropdown-arrow {
right: 25px;
top: 14px;
top: 17px;
}
.Dropdown-menu {
......
......@@ -2,8 +2,6 @@ import Service from '../../Service';
import TableDropDownOptions from './TableDropDownOptions';
class EditTableService extends Service {
boot() {}
register() {
this.container.bind('TableDropDownOptions').to(TableDropDownOptions);
}
......
......@@ -25,7 +25,7 @@ class MultipleDropDown extends ToolGroup {
view: { main },
} = context;
const Wrapper = styled.span`
const Wrapper = styled.div`
${ReactDropDownStyles};
`;
const DropdownStyled = styled(Dropdown)`
......@@ -35,13 +35,19 @@ class MultipleDropDown extends ToolGroup {
pointer-events: ${props => (props.select ? 'default' : 'none')};
.Dropdown-control {
border: none;
padding-top: 12px;
&:hover {
box-shadow: none;
}
}
.Dropdown-arrow {
right: 25px;
top: 10px;
top: 17px;
}
.Dropdown-menu {
width: 120%;
width: 102%;
display: flex;
flex-direction: column;
align-items: flex-start;
......@@ -52,7 +58,6 @@ class MultipleDropDown extends ToolGroup {
`;
const { dispatch, state } = view;
console.log('adsasda', this._tools[0]);
const dropDownOptions = [
{ label: 'Multiple choice ', value: '0', item: this._tools[0] },
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment