govuk-frontend
Version:
GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.
2 lines (1 loc) • 1.26 kB
Source Map (JSON)
{"version":3,"sources":["../../../../src/govuk/components/date-input/_index.scss"],"names":[],"mappings":"AAAA,oBAAoB;;AAEpB,gCAAgC;AAChC,wBAAwB;AACxB,uBAAuB;AACvB,wBAAwB;AACxB,2BAA2B;;AAE3B;EACE;IACE,uBAAuB;IACvB,YAAY,EAAE,2CAA2C;EAC3D;;EAEA;IACE,qBAAqB;IACrB,8BAA8B;IAC9B,gBAAgB;;IAEhB,+DAA+D;IAC/D,4CAA4C;IAC5C,qDAAqD;IACrD,sBAAsB;EACxB;;EAEA;IACE,cAAc;EAChB;;EAEA;IACE,gBAAgB;EAClB;AACF","file":"_index.scss","sourcesContent":["@import \"../../base\";\n\n@import \"../error-message/index\";\n@import \"../input/index\";\n@import \"../hint/index\";\n@import \"../label/index\";\n@import \"../fieldset/index\";\n\n@include govuk-exports(\"govuk/component/date-input\") {\n .govuk-date-input {\n @include govuk-clearfix;\n font-size: 0; // removes whitespace caused by inline-block\n }\n\n .govuk-date-input__item {\n display: inline-block;\n margin-right: govuk-spacing(4);\n margin-bottom: 0;\n\n // Prevents an issue in iOS Safari 18 where the items vertically\n // shift when the value of inputs is changed.\n // https://github.com/alphagov/reported-bugs/issues/90\n vertical-align: bottom;\n }\n\n .govuk-date-input__label {\n display: block;\n }\n\n .govuk-date-input__input {\n margin-bottom: 0;\n }\n}\n"]}