Skip to content

Commit b08d603

Browse files
updates
1 parent baa17d5 commit b08d603

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

lib/builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const Builder = () => {
9696
var h_div = document.getElementById('monaco');
9797
const defwidth = window.innerWidth;
9898
window.addEventListener('resize', () => {
99-
if (defwidth < window.innerWidth) {
99+
if (defwidth > window.innerWidth) {
100100
window.location.reload();
101101
}
102102
});

lib/ui/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const Select = ({
3535

3636
return (
3737
<>
38-
<button title={placeholder} type='button'><img src={items[id][1]} title={items[id][0]} alt="" color='white' />{items[id][0]}</button>
38+
<button title={placeholder} type='button' className='bb cw sb scp'><img src={items[id][1]} title={items[id][0]} alt="" className='fi' />{items[id][0]}</button>
3939
</>
4040
)
4141
}

pages/style.css

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ body {
5959
border: 2px solid rgba(0,0,0,0.2);
6060
border-radius: 20px;
6161
}
62-
.builder div:not(#monaco) {
62+
.builder div:not(#monaco):not(#monaco *) {
6363
display: flex;
6464
flex-direction: row;
6565
gap: 10px;
@@ -85,9 +85,16 @@ h1 {
8585
-webkit-animation-delay: 0.2s;
8686
}
8787

88-
.cw { /* Color White */
88+
.cw { /* Color: White */
8989
color: white;
9090
}
91+
.bb { /* Background: Black */
92+
background-color: black;
93+
}
94+
.fi { /* Filter: Invert */
95+
filter: invert(1);
96+
-webkit-filter: invert(1);
97+
}
9198

9299
.ag { /* Animation Glow (Text) */
93100
animation: g var(--a);
@@ -138,3 +145,10 @@ h1 {
138145
#monaco {
139146
height: 420px;
140147
}
148+
149+
.sb { /* Select Button */
150+
display: flex;
151+
flex-direction: row;
152+
align-items: center;
153+
gap: 10px;
154+
}

0 commit comments

Comments
 (0)