Skip to content
Snippets Groups Projects
Commit 44da4478 authored by chris's avatar chris
Browse files

styling

parent 2315dced
No related branches found
No related tags found
1 merge request!374Add feedback
......@@ -70,7 +70,7 @@ const Editors = () => {
case 'ncbi':
return <NCBI />;
default:
return <HHMI />;
return <Editoria />;
}
};
......
/* eslint-disable import/no-extraneous-dependencies */
import {
SchemaService,
MenuService,
......
......@@ -16,11 +16,10 @@ const EditorWrapper = styled.span`
display: inline-flex;
> .ProseMirror {
background: #a6a6a6 !important;
border: 1px solid #a6a6a6;
border-bottom: 1px solid #a6a6a6 !important;
border-radius: 4px;
box-shadow: none;
color: #fff !important;
color: #008000;
display: inline;
min-width: 50px;
padding: 0px 2px 0px 2px !important;
......
......@@ -10,6 +10,7 @@ import { DocumentHelpers } from 'wax-prosemirror-utilities';
const FeedBack = styled.div`
color: black;
margin-top: 10px;
padding: 10px;
`;
const FeedBackLabel = styled.span`
......@@ -17,10 +18,15 @@ const FeedBackLabel = styled.span`
`;
const FeedBackInput = styled.input`
// border: none;
border: none;
border-bottom: 1px solid black;
display: flex;
width: 100%;
&:focus {
outline: none;
}
::placeholder {
color: rgb(170, 170, 170);
font-style: italic;
......
/* eslint-disable react/destructuring-assignment */
/* eslint-disable react/prop-types */
import React, { useContext } from 'react';
import { WaxContext } from 'wax-prosemirror-core';
......@@ -8,10 +9,12 @@ import FeedbackComponent from './FeedbackComponent';
const FillTheGapContainer = styled.div`
border: 3px solid #f5f5f7;
margin-bottom: 30px;
padding: 3px;
`;
const FillTheGapWrapper = styled.div`
margin-bottom: 15px;
margin-bottom: ;
margin: 0px 38px 15px 38px;
margin-top: 10px;
`;
......
/* fill The Gap */
.fill-the-gap {
}
.ProseMirror .fill-the-gap .ProseMirror {
/* box-shadow: none; */
box-shadow: none;
border-bottom: 3px solid #F5F5F7;
line-height: 2.2;
padding: 25px 5px 20px 5px;
padding: 25px 10px 20px 10px;
}
.ProseMirror .fill-the-gap span > .ProseMirror {
......
......@@ -21,6 +21,10 @@ const FeedBackInput = styled.input`
display: flex;
width: 100%;
&:focus {
outline: none;
}
::placeholder {
color: rgb(170, 170, 170);
font-style: italic;
......
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