Skip to content

Commit

Permalink
Consistent wrapper headers display on actor sheets
Browse files Browse the repository at this point in the history
Examples of changes:
Text was not properly centered due to fixed width (Agent Notes tab)
Some headers were 100% width (Vehicle Main tab)
Some were aligned-left (Agent Combat tab)
  • Loading branch information
Deixx committed Jan 10, 2025
1 parent a7e6d99 commit 273b6c0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
5 changes: 5 additions & 0 deletions style/sheet/_actor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
width: 100%;
height: 100%;

.wrapper {
display: flex;
flex-direction: column;
}

.sheet-header {
display: grid;
grid-template-columns: 100px auto;
Expand Down
2 changes: 2 additions & 0 deletions style/sheet/_vehicle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

.crew-list
{
width: 100%;

.complement-list {
.header {
input {
Expand Down
4 changes: 0 additions & 4 deletions style/sheet/tab/_notes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
overflow: hidden;
}

.wrath-and-glory.sheet.actor .notes-tab h1{
width: 150px;
}

.wrath-and-glory.sheet.actor .notes-tab {
display: flex;
flex-direction: column;
Expand Down
3 changes: 0 additions & 3 deletions style/sheet/tab/_talents.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
height: 100%;
display: flex;
flex-direction: column;
h1 {
width: 280px;
}
.wrapper {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 273b6c0

Please sign in to comment.