Skip to content

Commit 201faa2

Browse files
committed
fix: various CSS fixes
1 parent 5c8e637 commit 201faa2

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

javascript/tokenscript-viewer/src/components/viewers/tlink-card/tlink-viewer.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ body, action-overflow-modal .popover-container {
5151
margin: 0 auto;
5252
display: flex;
5353
flex-direction: column;
54+
padding-bottom: 10px;
5455
}
5556

5657
.details-container {
@@ -89,7 +90,7 @@ card-view .card-container {
8990
display: flex;
9091
flex-direction: column;
9192
gap: 10px;
92-
padding: 10px 15px;
93+
padding: 10px 15px 0;
9394
}
9495

9596
.mooar-viewer .btn {
@@ -146,6 +147,11 @@ card-view .card-container {
146147
background: rgba(194, 140, 109, 0.06);
147148
}
148149

149-
.tokenscript-frame {
150-
margin-bottom: 6px;
150+
card-view .action-bar {
151+
height: auto !important;
152+
padding: 10px 0 0 !important;
153+
}
154+
155+
card-view .card-container {
156+
margin-bottom: 0 !important;
151157
}

javascript/tokenscript-viewer/src/components/viewers/tlink/tlink-card-viewer.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ card-view .card-container {
8989
display: flex;
9090
flex-direction: column;
9191
gap: 10px;
92-
padding: 10px 15px;
92+
padding: 10px 20px;
9393
}
9494

9595
.mooar-viewer .btn {
@@ -146,6 +146,11 @@ card-view .card-container {
146146
background: rgba(194, 140, 109, 0.06);
147147
}
148148

149-
.tokenscript-frame {
150-
margin-bottom: 6px;
149+
card-view .action-bar {
150+
height: auto !important;
151+
padding: 10px 0 0 !important;
152+
}
153+
154+
card-view .card-container {
155+
margin-bottom: 0 !important;
151156
}

0 commit comments

Comments
 (0)