Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retypos-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
retypos-server
Commits
3f5816e1
Commit
3f5816e1
authored
Mar 22, 2024
by
Soldatoff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo color changed
typo-card style changed typos text stylу changed
parent
849ac06c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
index.jsx
cp/javascript/src/components/Typo/index.jsx
+3
-3
style.css
cp/javascript/src/components/Typo/style.css
+1
-1
No files found.
cp/javascript/src/components/Typo/index.jsx
View file @
3f5816e1
...
@@ -76,7 +76,7 @@ export default class Typo extends Component {
...
@@ -76,7 +76,7 @@ export default class Typo extends Component {
this
.
highlightedContext
=
context
.
replace
(
regex
,
this
.
highlightedContext
=
context
.
replace
(
regex
,
`<span class="typo-correction">
`<span class="typo-correction">
<del>
${
original
}
</del> ->
<del>
${
original
}
</del> ->
<span class="text-
danger
">
${
corrected
}
</span>
<span class="text-
primary
">
${
corrected
}
</span>
</span>`
);
</span>`
);
}
}
...
@@ -88,8 +88,8 @@ export default class Typo extends Component {
...
@@ -88,8 +88,8 @@ export default class Typo extends Component {
const
typo
=
this
.
typo
;
const
typo
=
this
.
typo
;
const
display
=
"d-block"
;
const
display
=
"d-block"
;
const
textColor
=
"text-
white
"
;
const
textColor
=
"text-
black
"
;
const
backgroundColor
=
"bg-
primary
"
;
const
backgroundColor
=
"bg-
light
"
;
const
className
=
`TypoCard text-center
${
display
}
${
backgroundColor
}
${
textColor
}
`
;
const
className
=
`TypoCard text-center
${
display
}
${
backgroundColor
}
${
textColor
}
`
;
...
...
cp/javascript/src/components/Typo/style.css
View file @
3f5816e1
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
}
}
.TypoCard
a
{
.TypoCard
a
{
color
:
white
;
color
:
black
;
}
}
.TypoCard
#typo-id
{
.TypoCard
#typo-id
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment