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
11 changes: 3 additions & 8 deletions packages/base/src/formbuilder/objectform/fileselectorwidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,13 @@ export const FileSelectorWidget = (props: any) => {

return (
<div>
<div>
<input
type="text"
className="jp-mod-styled"
value={serverFilePath || ''}
readOnly
style={{ width: '70%', marginRight: '10px' }}
/>
<div className="file-container">
<button className="jp-mod-styled" onClick={handleBrowseServerFiles}>
Browse Server Files
</button>
<p>{serverFilePath || ''}</p>
</div>

<div>
<h3 className="jp-FormGroup-fieldLabel jp-FormGroup-contentItem">
Or enter external URL
Expand Down
8 changes: 8 additions & 0 deletions python/jupytergis_lab/style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -732,3 +732,11 @@ div.jGIS-toolbar-widget > div.jp-Toolbar-item:last-child {
.jgis-identify-grid-body:last-of-type strong:last-of-type {
padding-bottom: 8px;
}

/* Style the file path text */
.file-container {
display: flex;
align-items: center;
margin-bottom: 16px;
gap: 10px;
}
Loading