fixed a bug where a more actions dropdown would not center under its parent divs anymore; also the cursor now changes to pointer when hovering over a table cell which opens the edit modal

This commit is contained in:
Tobias 2023-09-20 22:13:39 +02:00
parent acf4b4dcdb
commit 665d25ca44

View File

@ -167,8 +167,6 @@ body {
margin: .2rem;
}
//button { font-family: Electrolize; }
.container {
padding: .2rem;
position: relative;
@ -315,6 +313,10 @@ header.navbar {
}
}
.combatant-name:hover,
.combatant-ini:hover,
.combatant-dice-and-rea:hover { cursor: pointer; }
.combatant-name {
padding-left: .6rem !important;
text-align: left;
@ -378,6 +380,11 @@ header.navbar {
top: .3rem;
}
.damage-dropdown,
.actions-dropdown {
position: relative; // required for the dropdowns' absolute position to relate to
}
.damage-monitor,
.actions-menu {
@include aug;
@ -387,7 +394,8 @@ header.navbar {
--aug-border-opacity: .75;
padding-top: .7rem;
padding-bottom: .7rem;
position: absolute;
position: absolute;
top: calc(100% + .12rem);
z-index: 200;
// center element horizontally w/ respect to parent