Skip to content

Commit 8bc3771

Browse files
authored
fix: script component css margin (#630)
1 parent 8481238 commit 8bc3771

File tree

2 files changed

+7
-46
lines changed

2 files changed

+7
-46
lines changed

public/components/package/pannels/scripts/scripts.css

Lines changed: 0 additions & 44 deletions
This file was deleted.

public/components/package/pannels/scripts/scripts.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ class Scripts extends LitElement {
2424
static styles = [
2525
scrollbarStyle,
2626
css`
27-
:host {
27+
:host {
2828
display: block;
2929
overflow: hidden auto;
3030
height: calc(100vh - 315px);
3131
box-sizing: border-box;
32-
}
32+
}
33+
3334
.package-scripts {
3435
display: flex;
3536
flex-direction: column;
@@ -60,6 +61,10 @@ class Scripts extends LitElement {
6061
color: #efe493;
6162
}
6263
64+
.package-scripts .script > p {
65+
margin: 0;
66+
}
67+
6368
.package-scripts .script p.name {
6469
color: #B3E5FC;
6570
height: 26px;

0 commit comments

Comments
 (0)