Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase TextArea target and modal size #37

Merged
merged 1 commit into from
May 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/pages/Credentials/views/Applications/Modal/Modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
color: var(--color-white);
border: 1px solid var(--grey-10);
box-shadow: 0 10px 20px var(--color-black);
width: 680px;
width: 580px;
height: 680px;

&::backdrop {
background: rgba(0,0,0,0.5);
Expand Down Expand Up @@ -56,6 +57,7 @@
}

.button-row {
margin-block: 4rem 2rem;
justify-content: flex-end;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Credentials/views/Applications/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const Modal: Component<{ content }> = (props) => {
onkeydown={handleKeyDown}
spellcheck={false}
autocomplete="off"
rows={3}
rows={8}
required
/>
<button class="tiny-ghost-button" onclick={populateSampleInput}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
color: var(--color-white);
border: 1px solid var(--grey-10);
box-shadow: 0 10px 20px var(--color-black);
width: 680px;
width: 580px;
height: 680px;

&::backdrop {
background: rgba(0,0,0,0.5);
Expand Down Expand Up @@ -56,6 +57,7 @@
}

.button-row {
margin-block: 4rem 2rem;
justify-content: flex-end;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const IssueModal: Component<{ content }> = (props) => {
onkeydown={handleKeyDown}
spellcheck={false}
autocomplete="off"
rows={3}
rows={8}
required
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
color: var(--color-white);
border: 1px solid var(--grey-10);
box-shadow: 0 10px 20px var(--color-black);
width: 680px;
width: 580px;
height: 680px;

&::backdrop {
background: rgba(0,0,0,0.5);
Expand Down Expand Up @@ -56,6 +57,7 @@
}

.button-row {
margin-block: 4rem 2rem;
justify-content: flex-end;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const IssueModalWithRender: Component<{ content }> = (props) => {
onkeydown={handleKeyDown}
spellcheck={false}
autocomplete="off"
rows={3}
rows={8}
required
/>
<button class="tiny-ghost-button" onclick={populateSampleInput}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
color: var(--color-white);
border: 1px solid var(--grey-10);
box-shadow: 0 10px 20px var(--color-black);
width: 680px;
width: 580px;
height: 680px;

&::backdrop {
background: rgba(0,0,0,0.5);
Expand Down Expand Up @@ -56,6 +57,7 @@
}

.button-row {
margin-block: 4rem 2rem;
justify-content: flex-end;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ const Modal: Component<{ content }> = (props) => {
onkeydown={handleKeyDown}
spellcheck={false}
autocomplete="off"
rows={3}
rows={8}
required
readonly={formValues().schemaId.trim() !== ''}
/>
Expand Down Expand Up @@ -291,7 +291,7 @@ const Modal: Component<{ content }> = (props) => {
onkeydown={handleKeyDown}
spellcheck={false}
autocomplete="off"
rows={3}
rows={8}
required />
<button class="tiny-ghost-button" type="button" onclick={populateSampleInput}>
<Icon svg={Beaker} />
Expand Down Expand Up @@ -325,7 +325,7 @@ const Modal: Component<{ content }> = (props) => {
onkeydown={handleKeyDown}
spellcheck={false}
autocomplete="off"
rows={3}
rows={8}
required />
<button class="tiny-ghost-button" type="button" onclick={populateSampleInput}>
<Icon svg={Beaker} />
Expand Down Expand Up @@ -356,7 +356,7 @@ const Modal: Component<{ content }> = (props) => {
onkeydown={handleKeyDown}
spellcheck={false}
autocomplete="off"
rows={3}
rows={8}
required />
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
color: var(--color-white);
border: 1px solid var(--grey-10);
box-shadow: 0 10px 20px var(--color-black);
width: 680px;
width: 580px;
height: 680px;

&::backdrop {
background: rgba(0,0,0,0.5);
Expand Down Expand Up @@ -56,6 +57,7 @@
}

.button-row {
margin-block: 4rem 2rem;
justify-content: flex-end;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const Modal: Component<{ content }> = (props) => {
onkeydown={handleKeyDown}
spellcheck={false}
autocomplete="off"
rows={3}
rows={8}
required
/>
<button class="tiny-ghost-button" onclick={populateSampleInput}>
Expand Down
4 changes: 3 additions & 1 deletion src/pages/DIDs/views/MyDIDs/Modal/Modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
color: var(--color-white);
border: 1px solid var(--grey-10);
box-shadow: 0 10px 20px var(--color-black);
width: 680px;
width: 580px;
height: 680px;

&::backdrop {
background: rgba(0,0,0,0.5);
Expand Down Expand Up @@ -56,6 +57,7 @@
}

.button-row {
margin-block: 4rem 2rem;
justify-content: flex-end;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/DIDs/views/MyDIDs/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const Modal: Component<{ content }> = (props) => {
onkeydown={handleKeyDown}
spellcheck={false}
autocomplete="off"
rows={3}
rows={8}
required
/>
<button class="tiny-ghost-button" type="button" onclick={populateSampleInput}>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Intake/Apply/Apply.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const Apply: Component = () => {
onkeydown={handleKeyDown}
spellcheck={false}
autocomplete="off"
rows={3}
rows={8}
required
class="textarea-container"></textarea>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Intake/Submit/Submit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const Submit: Component = () => {
onkeydown={handleKeyDown}
spellcheck={false}
autocomplete="off"
rows={3}
rows={8}
required
class="textarea-container"></textarea>
</div>
Expand Down
4 changes: 3 additions & 1 deletion src/pages/Verification/views/Requests/Modal/Modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
color: var(--color-white);
border: 1px solid var(--grey-10);
box-shadow: 0 10px 20px var(--color-black);
width: 680px;
width: 580px;
height: 680px;

&::backdrop {
background: rgba(0,0,0,0.5);
Expand Down Expand Up @@ -56,6 +57,7 @@
}

.button-row {
margin-block: 4rem 2rem;
justify-content: flex-end;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Verification/views/Requests/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const Modal: Component<{ content }> = (props) => {
onkeydown={handleKeyDown}
spellcheck={false}
autocomplete="off"
rows={3}
rows={8}
required
/>
<button class="tiny-ghost-button" onclick={populateSampleInput}>
Expand Down
4 changes: 3 additions & 1 deletion src/pages/Verification/views/Submissions/Modal/Modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
color: var(--color-white);
border: 1px solid var(--grey-10);
box-shadow: 0 10px 20px var(--color-black);
width: 680px;
width: 580px;
height: 680px;

&::backdrop {
background: rgba(0,0,0,0.5);
Expand Down Expand Up @@ -56,6 +57,7 @@
}

.button-row {
margin-block: 4rem 2rem;
justify-content: flex-end;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Verification/views/Submissions/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const Modal: Component<{ content }> = (props) => {
onkeydown={handleKeyDown}
spellcheck={false}
autocomplete="off"
rows={3}
rows={8}
required
/>
<button class="tiny-ghost-button" onclick={populateSampleInput}>
Expand Down