mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-27 10:16:16 -04:00
Merge pull request #212 from MontelAle/add-expanding-textarea
Resolves #202
This commit is contained in:
commit
516b4a0705
3 changed files with 34 additions and 24 deletions
|
@ -479,19 +479,22 @@ button::-moz-focus-inner {
|
|||
|
||||
/* Text Input */
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
.textareaElement {
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
outline: none;
|
||||
padding: 16px 24px;
|
||||
border-radius: 16px;
|
||||
margin: 8px 0;
|
||||
line-height: 16px;
|
||||
font-size: 14px;
|
||||
font-family: inherit;
|
||||
resize: none;
|
||||
background: #f1f3f4;
|
||||
display: block;
|
||||
overflow: auto;
|
||||
resize: none;
|
||||
min-height: 40px;
|
||||
line-height: 16px;
|
||||
max-height: 300px;
|
||||
}
|
||||
|
||||
|
||||
|
@ -680,8 +683,8 @@ screen and (min-width: 1100px) {
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Color Themes
|
||||
/*
|
||||
Color Themes
|
||||
*/
|
||||
|
||||
/* Default colors */
|
||||
|
@ -709,7 +712,7 @@ x-dialog x-paper {
|
|||
background-color: var(--bg-color);
|
||||
}
|
||||
|
||||
textarea {
|
||||
.textareaElement {
|
||||
color: var(--text-color);
|
||||
background-color: var(--bg-color-secondary);
|
||||
}
|
||||
|
@ -731,4 +734,4 @@ textarea {
|
|||
--bg-color: #fafafa;
|
||||
--bg-color-secondary: #f1f3f4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue