Skip to content

Commit

Permalink
fix(game): fix HoF take photo button spacing that was wrong since ano…
Browse files Browse the repository at this point in the history
…ther update
toverux committed Nov 27, 2024
1 parent 5cb5d78 commit 50fe950
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion HallOfFame/UI/src/game/take-hof-picture-button.module.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
.screenshot-button {
position: relative;
display: block;
margin-right: calc(22rem) !important;
// Override vanilla width to make room for the 90° rotated HoF side label.
// 32rem is the original margin, we add 1em for the text.
// We do not want to be exact actually, this is the kind of thing to adjust
// by eyeballing.
width: calc(32rem + 1em - 2rem) !important;

> [class*="icon"] {
//noinspection CssUnknownTarget
mask-image: url(coui://uil/Standard/SharePicture.svg);
// Dock icon to left to adjust for the increased width.
mask-position: 0 50%;
}

span {

0 comments on commit 50fe950

Please sign in to comment.