Skip to content

Commit

Permalink
Fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
sudhirverma committed Sep 8, 2021
1 parent c3cbe2a commit 7ab43cb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions src/hub/hub-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ export class TektonHubTasksViewProvider extends Disposable implements vscode.Web
<body>
<div id="root" style="width: 100%; height: 100%;">
<div id="header">
<ul class="test-abc select-list-group" id="slg">
<li class="test-xyz">
<ul class="ul-color select-list-group" id="slg">
<li class="li-style">
<input type="text" placeholder="Search Tasks in TektonHub" id="taskInput" />
<ul class="test-abc test-abcd" data-toggle="false">
<li class="test-xyz">@tag:</li>
<ul class="ul-color ul-position" data-toggle="false">
<li class="li-style">@tag:</li>
</ul>
</li>
</ul>
Expand Down
12 changes: 6 additions & 6 deletions src/webview/common/vscode.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,24 +83,24 @@ textarea::placeholder {
color: var(--vscode-input-placeholderForeground);
}

.testtest {
.contain-style {
top: 2%;
position: relative;
}

li.test-xyz {
li.li-style {
padding : .6rem .1rem;
margin : 0;
position : relative
}

ul.test-abc { list-style : none; padding : 0; color : var(--vscode-foreground); background-color : var(--vscode-editor-background) }
ul.ul-color { list-style : none; padding : 0; color : var(--vscode-foreground); background-color : var(--vscode-editor-background) }

ul.test-abcd {}
ul.ul-position {}

li.test-xyz li.test-xyz:hover { color : var(--vscode-foreground); background-color : var(--vscode-input-background) }
li.li-style li.li-style:hover { color : var(--vscode-foreground); background-color : var(--vscode-input-background) }

li.test-xyz li.test-xyz.current { color : var(--vscode-foreground); background-color : var(--vscode-editor-background) }
li.li-style li.li-style.current { color : var(--vscode-foreground); background-color : var(--vscode-editor-background) }

.select-list-group, .select-list-group * {
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion src/webview/hub/task-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export class TaskView {

const taskListContainer = createDiv();
taskListContainer.id = 'tasksList';
taskListContainer.className = 'testtest';
taskListContainer.className = 'contain-style';
this.taskList = new TaskList(taskListContainer, this.vscodeAPI, this.loader, 'searchView');

this.mainContainer = document.getElementById('mainContainer');
Expand Down

0 comments on commit 7ab43cb

Please sign in to comment.