style tweaks to description area within the Project details view.

This commit is contained in:
Frank Johnson
2021-09-05 21:23:09 -04:00
parent eb238b6902
commit d203fe7e57
2 changed files with 8 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ const KeyValue = ({
{canEdit &&
(isEditable ? (
<button
className="ml-4 grid grid-flow-col-dense p-px px-2 gap-2 bg-ch-purple-400 bg-opacity-30 hover:bg-opacity-80 rounded-sm border border-ch-purple-400"
className="font-fira-sans items-center ml-4 grid grid-flow-col-dense p-px px-2 gap-2 bg-ch-purple-400 bg-opacity-30 hover:bg-opacity-80 rounded-sm border border-ch-purple-400"
id="rename-button"
onClick={onEdit}
>
@@ -170,7 +170,7 @@ const ProjectProfile = ({
id="description-wrap"
name="description"
className={
'markdown-overrides rounded shadow-md bg-white pl-6 pb-2 mt-2' +
'markdown-overrides rounded-sm pb-2 mt-2' +
(isEditable ? ' min-h-md' : '')
}
onClick={(e) =>

View File

@@ -17,23 +17,23 @@
@apply text-lg font-bold;
}
.markdown-overrides {
@apply bg-gray-200 border border-gray-300;
@apply bg-transparent;
}
.markdown-overrides div {
@apply bg-gray-200 text-indigo-800;
@apply text-ch-gray-300 bg-transparent;
}
.markdown-overrides div a {
@apply bg-gray-200 text-indigo-500;
@apply text-ch-pink-500 underline bg-transparent;
}
.markdown-overrides div h3 {
@apply text-xl text-indigo-800;
@apply text-xl;
}
.markdown-overrides div h2 {
@apply text-2xl text-indigo-800;
@apply text-2xl;
}
.markdown-overrides div h1 {
@apply text-3xl text-indigo-800;
@apply text-3xl;
}
.markdown-overrides ol {
@apply list-decimal;