Skip to content

Commit

Permalink
Quick style fixes for player-settings to give select elements `text…
Browse files Browse the repository at this point in the history
…-overflow: ellipsis` and increase base size of left-column
  • Loading branch information
LegendaryLinux committed May 17, 2024
1 parent 7228262 commit 8bf7ce1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
17 changes: 10 additions & 7 deletions WebHostLib/static/styles/playerOptions/playerOptions.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 10 additions & 8 deletions WebHostLib/static/styles/playerOptions/playerOptions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ html{
border-radius: 3px;
min-width: 150px;
background-color: #ffffff;
text-overflow: ellipsis;
}

.game-options{
Expand All @@ -118,7 +119,7 @@ html{

.left, .right{
display: grid;
grid-template-columns: 10rem auto;
grid-template-columns: 12rem auto;
grid-row-gap: 0.5rem;
grid-auto-rows: min-content;
align-items: start;
Expand All @@ -135,26 +136,23 @@ html{

input, select{
box-sizing: border-box;
min-width: 150px;
width: 50%;
width: 200px;
}
}

.left, .right{
flex-grow: 1;
margin-bottom: 0.5rem;
}

.left{
margin-right: 10px;
}

.right{
margin-left: 10px;
margin-right: 20px;
}

.select-container{
display: flex;
flex-direction: row;
max-width: 270px;

select{
min-width: 200px;
Expand All @@ -169,6 +167,7 @@ html{
.range-container{
display: flex;
flex-direction: row;
max-width: 270px;

input[type=range]{
flex-grow: 1;
Expand All @@ -183,6 +182,7 @@ html{
.named-range-container{
display: flex;
flex-direction: column;
max-width: 270px;

.named-range-wrapper{
display: flex;
Expand All @@ -198,6 +198,7 @@ html{
.free-text-container{
display: flex;
flex-direction: column;
max-width: 270px;

input[type=text]{
flex-grow: 1;
Expand All @@ -207,6 +208,7 @@ html{
.text-choice-container{
display: flex;
flex-direction: column;
max-width: 270px;

.text-choice-wrapper{
display: flex;
Expand Down

0 comments on commit 8bf7ce1

Please sign in to comment.