Merge pull request #13136 from overleaf/mj-figure-modal-spacing
[cm6] Adjust spacing in figure modal GitOrigin-RevId: dc18186ff422292648d58c6d99718cc33e4d0f84
This commit is contained in:
committed by
Copybot
parent
5c95c907ec
commit
948d56e809
+4
-1
@@ -49,7 +49,10 @@ export const FileRelocator = ({
|
||||
|
||||
return (
|
||||
<>
|
||||
<label htmlFor="figure-modal-relocated-file-name">
|
||||
<label
|
||||
htmlFor="figure-modal-relocated-file-name"
|
||||
className="figure-modal-input-label"
|
||||
>
|
||||
{t('file_name_in_this_project_figure_modal')}
|
||||
</label>
|
||||
<FileNameInput
|
||||
|
||||
+1
-1
@@ -161,7 +161,7 @@ export const FigureModalOtherProjectSource: FC = () => {
|
||||
<div>
|
||||
or{' '}
|
||||
<Button
|
||||
className="px-0"
|
||||
className="p-0"
|
||||
bsStyle="link"
|
||||
type="button"
|
||||
onClick={() => setUsingOutputFiles(value => !value)}
|
||||
|
||||
+6
-1
@@ -72,7 +72,12 @@ export const FigureModalUrlSource: FC = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<label htmlFor="figure-modal-url-url">{t('image_url')}</label>
|
||||
<label
|
||||
htmlFor="figure-modal-url-url"
|
||||
className="figure-modal-input-label"
|
||||
>
|
||||
{t('image_url')}
|
||||
</label>
|
||||
<input
|
||||
id="figure-modal-url-url"
|
||||
type="text"
|
||||
|
||||
@@ -98,10 +98,6 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.figure-modal-upload {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.figure-modal-source-button-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -143,3 +139,8 @@
|
||||
margin-right: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.figure-modal-input-label:not(:first-child),
|
||||
.figure-modal .select-wrapper:not(:first-child) {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user