14: Tweak styles, tweak roll template

- Adjusted styles of item buttons.
- Fixed an issue with item buttons when not using shorthand syntax.
- Updated the `roll.toMessage()` call to include the player/actor name
  and the item/attribute name.
This commit is contained in:
Matt Smith 2020-08-09 20:25:48 -05:00
parent 786d4095a9
commit 9ae2cce47a
4 changed files with 49 additions and 11 deletions

View file

@ -87,10 +87,11 @@
overflow-y: auto;
.item {
height: 30px;
min-height: 30px;
line-height: 24px;
padding: 3px 0;
border-bottom: 1px solid #BBB;
align-items: stretch;
img {
flex: 0 0 24px;
@ -106,10 +107,20 @@
flex: 0 0 36px;
}
.item-buttons {
display: flex;
flex-wrap: wrap;
flex-direction: row;
align-items: center;
flex: 2;
justify-content: flex-start;
}
.item-button {
height: 100%;
line-height: 1;
font-size: 11px;
flex: none;
width: auto;
}
}