Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/components/Error/ErrorCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { useState, useEffect } from "react";
import { MdKeyboardArrowLeft, MdOutlineArrowRightAlt } from "react-icons/md";
import ErrorSolutions from "./ErrorSolutions";
import ErrorType from "./ErrorType";
import './css/style.css';

function ErrorCard({ error }) {

Expand Down Expand Up @@ -30,6 +31,7 @@ function ErrorCard({ error }) {

return (
<div
id="main-div"
className={`py-4 mb-4 col-span-12 md:col-span-6 xl:col-span-4 px-2 md:px-6 border-l-4 rounded-lg items-start bg-dark-secondary flex flex-col ${item === "add"
? "border-[#4024e0]"
: item === "commit"
Expand All @@ -43,7 +45,7 @@ function ErrorCard({ error }) {
: "border-[#7e1aa5]"
}`}
>
<h3 className="text-lg font-medium">{error.title}</h3>
<h3 className="title">{error.title}</h3>

<ErrorType type={error.type} />

Expand Down
6 changes: 5 additions & 1 deletion src/components/Error/css/style.css
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*# sourceMappingURL=style.css.map */
h3 {
max-width: 100%;
overflow-wrap: break-word;
font-size: 15px;
}/*# sourceMappingURL=style.css.map */
2 changes: 1 addition & 1 deletion src/components/Error/css/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/components/Error/css/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

h3{
max-width: 100%;
overflow-wrap: break-word;
font-size: 15px;
}