Skip to content

Commit a5372d6

Browse files
author
Avaer Kazmer
committed
Small XR multibutton CSS bugfix
1 parent 182c11d commit a5372d6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@
169169
color: #5c6bc0;
170170
cursor: pointer;
171171
}
172-
.multibutton > .button:not(:first-child) {
172+
.multibutton > .button:not(.first) {
173173
border-top-left-radius: 0;
174174
border-bottom-left-radius: 0;
175175
}
176-
.multibutton > .button:not(:last-child) {
176+
.multibutton > .button:not(.last) {
177177
border-top-right-radius: 0;
178178
border-bottom-right-radius: 0;
179179
}
@@ -492,9 +492,9 @@ <h3>This beta requires login.</h3>
492492
</div>
493493

494494
<div class=multibutton id=enter-buttons>
495-
<nav class="button" id="enter-2d-button">Enter 2D</nav>
496-
<a class=button id="enter-xr-button" style="display: none;">Enter XR</a>
497-
<a class=button id="no-xr-button" disabled style="display: none;">No XR</a>
495+
<nav class="button first" id="enter-2d-button">Enter 2D</nav>
496+
<a class="button last" id="enter-xr-button" style="display: none;">Enter XR</a>
497+
<a class="button last" id="no-xr-button" disabled style="display: none;">No XR</a>
498498
</div>
499499

500500
<script src="https://kit.fontawesome.com/0735724151.js"></script>

0 commit comments

Comments
 (0)