Better disabled textbox style

This commit is contained in:
space-nuko
2023-05-09 16:28:49 -05:00
parent 4ca5d01d6a
commit da61d3d7de
6 changed files with 39 additions and 1 deletions

View File

@@ -465,4 +465,11 @@
position: absolute;
bottom: 0;
padding: 0.5em; */
}
:global(input[type=text]:disabled) {
@include disable-input;
}
:global(textarea:disabled) {
@include disable-input;
}

View File

@@ -126,6 +126,9 @@
:global(input[type=number]) {
text-overflow: ellipsis;
&:disabled {
@include disable-input;
}
}
&.mobile {

View File

@@ -46,10 +46,17 @@
{/if}
</div>
<style>
<style lang="scss">
.wrapper {
padding: 2px;
width: 100%;
:global(input[type=text]:disabled) {
@include disable-input;
}
:global(textarea:disabled) {
@include disable-input;
}
}
:global(span.hide) {