@financial-times/qanda-ui 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/qanda.scss +13 -1
- package/package.json +1 -1
package/dist/qanda.scss
CHANGED
|
@@ -696,9 +696,12 @@ $app-header-color: #007acc;
|
|
|
696
696
|
}
|
|
697
697
|
|
|
698
698
|
.input-textarea {
|
|
699
|
-
min-height:
|
|
699
|
+
min-height: 120px;
|
|
700
700
|
background-color: transparent;
|
|
701
701
|
border: none;
|
|
702
|
+
@media (min-width: 740px) {
|
|
703
|
+
min-height: 180px;
|
|
704
|
+
}
|
|
702
705
|
}
|
|
703
706
|
|
|
704
707
|
.input-textarea:focus-visible {
|
|
@@ -825,6 +828,15 @@ $app-header-color: #007acc;
|
|
|
825
828
|
)
|
|
826
829
|
);
|
|
827
830
|
|
|
831
|
+
@media (max-width: 740px) {
|
|
832
|
+
// locks scrolling for narrow viewport on web
|
|
833
|
+
html:has(.qanda-container .overlay),
|
|
834
|
+
// locks scroll container for FT app
|
|
835
|
+
body:has(.qanda-container .overlay) .js-vertical-scroller {
|
|
836
|
+
overflow: hidden;
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
|
|
828
840
|
.qanda-container {
|
|
829
841
|
body {
|
|
830
842
|
margin: 0;
|