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:
parent
acf4b4dcdb
commit
665d25ca44
@ -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;
|
||||
@ -388,6 +395,7 @@ header.navbar {
|
||||
padding-top: .7rem;
|
||||
padding-bottom: .7rem;
|
||||
position: absolute;
|
||||
top: calc(100% + .12rem);
|
||||
z-index: 200;
|
||||
|
||||
// center element horizontally w/ respect to parent
|
||||
|
||||
Loading…
Reference in New Issue
Block a user