mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-06 18:12:05 +00:00
Fix description textarea width — add missing col-sm-12 CSS rule
- col-sm-12 had no width defined, causing textarea to collapse - Set description to 10 rows with no resize
This commit is contained in:
parent
ac34a1a5d3
commit
33431ae449
2 changed files with 5 additions and 1 deletions
|
|
@ -172,6 +172,10 @@
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.col-sm-12 {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
.col-md-4 {
|
.col-md-4 {
|
||||||
width: 33.33333333%;
|
width: 33.33333333%;
|
||||||
|
|
|
||||||
|
|
@ -325,7 +325,7 @@ export default function WorkOrderFormPage() {
|
||||||
name="description"
|
name="description"
|
||||||
value={formData.description}
|
value={formData.description}
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
rows="5"
|
rows="10"
|
||||||
style={{ resize: "none" }}
|
style={{ resize: "none" }}
|
||||||
placeholder="Detailed description of the work to be performed"
|
placeholder="Detailed description of the work to be performed"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue