mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-04-30 13:31:53 +08:00
[questions][ui] Minor UI cleanup (#470)
* [questions][ui] fix no more questions overlap * [questions][ui] remove redundent horizontal div * [questions][ui] reduce gap
This commit is contained in:
@@ -35,13 +35,7 @@ export default function ContributeQuestionDialog({
|
||||
return (
|
||||
<div>
|
||||
<Transition.Root as={Fragment} show={show}>
|
||||
<Dialog
|
||||
as="div"
|
||||
className="relative z-10"
|
||||
onClose={() => {
|
||||
// Todo: save state
|
||||
onCancel();
|
||||
}}>
|
||||
<Dialog as="div" className="relative z-10" onClose={onCancel}>
|
||||
<Transition.Child
|
||||
as={Fragment}
|
||||
enter="ease-out duration-300"
|
||||
|
||||
@@ -115,7 +115,6 @@ export default function ContributeQuestionForm({
|
||||
rows={5}
|
||||
{...register('questionContent')}
|
||||
/>
|
||||
<HorizontalDivider />
|
||||
<h2 className="text-md text-primary-800 font-semibold">
|
||||
Additional information
|
||||
</h2>
|
||||
|
||||
Reference in New Issue
Block a user