Skip to content

Commit dc6e7dc

Browse files
authored
Merge pull request #499 from red-gate/database-of-interest-style-fix
add in some responsive fixes for Database of Interest form field
2 parents b5c2dd5 + 99f4dde commit dc6e7dc

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "honeycomb-web-toolkit",
3-
"version": "14.1.16",
3+
"version": "14.1.17",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/red-gate/honeycomb-web-toolkit"

src/forms/css/objects/_honeycomb.forms.objects.marketo.scss

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,17 @@ form[id^="mktoForm_"] {
110110
*
111111
* Slack thread: https://redgate.slack.com/archives/GF85KV7FX/p1678188588081699
112112
*/
113-
[name="Database_s_of_Interest__c"] + label {
113+
[name="Database_s_of_Interest__c"] + label {
114114
margin-bottom: 30px;
115115
flex-basis: calc(32% - 20px);
116+
117+
// Half-width columns at medium viewport sizes
118+
@media only screen and (max-width:900px) and (min-width:600px) {
119+
flex-basis: calc(49% - 20px);
120+
}
121+
122+
// Tweak to prevent line-wrapping when we break to single-column flow
123+
@media only screen and (max-width:600px) {
124+
flex-basis: calc(33% - 20px);
125+
}
116126
}

0 commit comments

Comments
 (0)