Open helloDanuk opened 4 months ago
I noticed this the other day, it's too big on large screens in some situations too. I gather it's because of the hidden text so I quickly fudged some CP CSS for it.
@container (min-width: 24rem) {
.publish-tab .spacer-fieldtype .field-inner + div,
.publish-tab .spacer-fieldtype .publish-field-label {
display: none;
}
}
@media screen and (max-width: 33.4375rem) {
.publish-tab .spacer-fieldtype {
display: none;
}
}
Bug description
The spacer field type leads to incorrect vertical spacing between fieldtypes on small screens.
How to reproduce
Create a blueprint with a spacer fieldtype between some narrow fields, so that the second textfield moves to a new line. For example:
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response