Skip to content

Commit

Permalink
Mobile improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
kepano committed Dec 6, 2024
1 parent f3eb616 commit 9638519
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
--modal-max-width: 1100px;
--modal-max-height: 1000px;
--modal-max-width-narrow: 800px;
--modal-padding: 1rem;
--modal-border-width: 1px;
--modal-border-color: var(--color-base-40, var(--background-modifier-border-focus));
--modal-radius: var(--radius-l);
Expand Down
9 changes: 7 additions & 2 deletions src/styles/interpreter.scss
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,11 @@

.model-list-container {
margin-bottom: 24px;
overflow-x: scroll;
}

.provider-list-container {
overflow-x: scroll;
}

#interpreter-section {
Expand Down Expand Up @@ -270,7 +275,7 @@
display: flex;
flex-direction: row;
gap: 0.5rem;
min-width: 60%;
width: 60%;
}
.model-name {
font-size: var(--font-ui-small);
Expand Down Expand Up @@ -305,7 +310,7 @@
display: flex;
flex-direction: row;
gap: 0.5rem;
min-width: 60%;
width: 60%;

}
.provider-name {
Expand Down
1 change: 1 addition & 0 deletions src/styles/mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@

--modal-border-width: 0;
--modal-radius: 0;
--modal-padding: 1rem 1.5rem;

--popup-padding: 1rem;
--popup-properties-padding: 2px 0.75rem 0.75rem;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/modals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
background-color: var(--modal-background);
border-radius: var(--modal-radius);
border: var(--modal-border-width) solid var(--modal-border-color);
padding: 1rem;
padding: var(--modal-padding);
position: relative;
height: var(--dialog-height);
min-height: 100px;
Expand Down

0 comments on commit 9638519

Please sign in to comment.