Add hotbar settings (reposition, button size/gap)
This commit is contained in:
parent
4dc7b8541f
commit
27c5fccba0
9 changed files with 177 additions and 8 deletions
10
styles/hotbarButtonGap.css
Normal file
10
styles/hotbarButtonGap.css
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
.oft-hotbarButtonGap #hotbar {
|
||||
&.sm #action-bar {
|
||||
width: calc((var(--hotbar-size) * 5) + (var(--hotbar-button-gap) * 4));
|
||||
}
|
||||
|
||||
#action-bar {
|
||||
row-gap: min(var(--hotbar-button-gap, 8px), 8px);
|
||||
column-gap: var(--hotbar-button-gap, 8px);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue