@zzish/math-rich-input 0.1.43 → 0.1.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -108,7 +108,7 @@
108
108
  .MathRichInput {
109
109
  border-radius: 12px;
110
110
  font-size: 32px;
111
- font-weight: 900;
111
+ font-weight: 400;
112
112
 
113
113
  &:focus {
114
114
  border: none;
@@ -119,10 +119,24 @@
119
119
 
120
120
  &.answer-edit-input {
121
121
  .MathRichInput {
122
- font-weight: 600;
122
+ font-weight: 400;
123
123
  font-size: 16px;
124
124
  }
125
125
  }
126
+
127
+ &.hint-input,
128
+ &.explanation-input {
129
+ .MathRichInput {
130
+ font-weight: 400;
131
+ font-size: 16px;
132
+ /* text-decoration: underline dotted; */
133
+ color: #322e33;
134
+
135
+ .base {
136
+ border: 1px dotted #322e33;
137
+ }
138
+ }
139
+ }
126
140
  }
127
141
  .EquationEditorModal-background {
128
142
  position: fixed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zzish/math-rich-input",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
4
4
  "description": "React component for user to enter rich text with embedded math equations.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -108,7 +108,7 @@
108
108
  .MathRichInput {
109
109
  border-radius: 12px;
110
110
  font-size: 32px;
111
- font-weight: 900;
111
+ font-weight: 400;
112
112
 
113
113
  &:focus {
114
114
  border: none;
@@ -119,8 +119,22 @@
119
119
 
120
120
  &.answer-edit-input {
121
121
  .MathRichInput {
122
- font-weight: 600;
122
+ font-weight: 400;
123
123
  font-size: 16px;
124
124
  }
125
125
  }
126
+
127
+ &.hint-input,
128
+ &.explanation-input {
129
+ .MathRichInput {
130
+ font-weight: 400;
131
+ font-size: 16px;
132
+ /* text-decoration: underline dotted; */
133
+ color: #322e33;
134
+
135
+ .base {
136
+ border: 1px dotted #322e33;
137
+ }
138
+ }
139
+ }
126
140
  }