Skip to content

Commit

Permalink
[DLT-1110] Styles
Browse files Browse the repository at this point in the history
  • Loading branch information
AronPerez committed Jan 22, 2025
1 parent 9358ba2 commit f01b515
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 24 deletions.
32 changes: 16 additions & 16 deletions web/static/components/endpoint-browse/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,28 @@ class EndpointBrowser {
<button id="up" class="btn small">Up</button>
</div>
</div>
</div>
</div>
`;
}

fileTree() {
return `
<div class="endpoint-browser file-tree-view ui-widget content">
<table id="file_tree">
<colgroup>
<col/>
<col/>
<col/>
</colgroup>
<tbody>
return `
<div class="endpoint-browser file-tree-view ui-widget content">
<table id="file_tree">
<colgroup>
<col/>
<col/>
<col/>
</colgroup>
<tbody>
<tr>
<td/>
<td/>
<td/>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
</tbody>
</table>
</div>
`;
}

Expand Down
13 changes: 5 additions & 8 deletions web/static/components/endpoint-browse/styles.css
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
.endpoint-browser {
display: flex;
flex-direction: column;
height: 100%;
}

.endpoint-browser .path-label,
.endpoint-browser .path-input-container,
.endpoint-browser .row-flex,
.endpoint-browser .spacer,
.endpoint-browser .file-tree-view {
.endpoint-browser .path-label {
margin-right: 0.5em;
}

.endpoint-browser .path-input-container {
flex: auto;
margin-right: 0.5em;
}

.endpoint-browser .path-input-container input {
width: 100%;
}

.endpoint-browser .row-flex {
display: flex;
align-items: center;
}

Expand All @@ -35,11 +32,11 @@
overflow: auto;
}

.endpoint-browser .file-tree-view table {
.endpoint-browser .file-tree-view tbody {
width: 100%;
}

.endpoint-browser .file-tree-view td {
.endpoint-browser .file-tree-view tbody td {
white-space: nowrap;
padding: 0 2em 0 0;
}

0 comments on commit f01b515

Please sign in to comment.