Skip to content

Commit

Permalink
Fix css button alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
sudhirverma committed Jul 28, 2020
1 parent 9c00ad0 commit 46520a1
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@
"category": "Tekton",
"enablement": "tekton:tkn"
},
{
"command": "tekton.pipeline.wizard.start",
"title": "Start Wizard",
"category": "Tekton"
},
{
"command": "tekton.explorerView.delete",
"title": "Delete",
Expand Down
33 changes: 27 additions & 6 deletions src/webview/pipeline/app/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ body {
.startButton-disable {
height: 16px;
margin: -20px -50px;
position: fixed;
position: relative;
bottom: 3%;
/* top:33%; */
bottom: 40px;
left: 50%;
background: #848484;
color: var(--vscode-button-foreground);
Expand All @@ -103,9 +103,9 @@ body {
.startButton {
height: 16px;
margin: -20px -50px;
position: fixed;
/* top:33%; */
bottom: 40px;
position: relative;
bottom: 3%;
/* bottom: 40px; */
left: 50%;
background: var(--vscode-button-background);
color: var(--vscode-button-foreground);
Expand Down Expand Up @@ -163,8 +163,29 @@ body {
.close-button {
cursor: pointer;
position: absolute;
right: 10px;
right: 291px;
top: -32px;
/* right: 10px;
top: -32px; */
}


@media screen and (min-width: 357px) {
.close-button {
right: 179px;
}
}

@media screen and (min-width: 550px) {
.close-button {
right: 167px;
}
}

@media screen and (min-width: 700px) {
.close-button {
right: 10px;
}
}

.close-button-div {
Expand Down

0 comments on commit 46520a1

Please sign in to comment.