Skip to content

Commit 203fb6c

Browse files
feat(gamepad-tester): add button images
1 parent 487f374 commit 203fb6c

4 files changed

Lines changed: 67 additions & 387 deletions

File tree

_sass/circular-progress.scss

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
.circular-button .button-value {
9191
font-size: 0.85rem;
92-
line-height: 1;
92+
line-height: 0.5;
9393
}
9494

9595
.circular-button .progress-bar {
@@ -99,3 +99,18 @@
9999
.circular-button.active .button-content {
100100
box-shadow: 0 0 10px 3px rgba(13, 110, 253, 0.5);
101101
}
102+
103+
.circular-button .button-image-container {
104+
display: flex;
105+
flex-direction: column;
106+
align-items: center;
107+
justify-content: center;
108+
width: 100%;
109+
}
110+
111+
.circular-button .button-image {
112+
max-width: 2.5rem;
113+
max-height: 2.5rem;
114+
width: auto;
115+
height: auto;
116+
}

assets/js/gamepad-helper.js

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

0 commit comments

Comments
 (0)