Commit b40803cd by Robb Hamilton

Prohibit horizontal resizing of textarea inside origin-modal-popup

Supports https://github.com/openshift/origin-web-console/issues/2716
parent 56c7a9dd
...@@ -86,6 +86,10 @@ ...@@ -86,6 +86,10 @@
margin-top: 0; margin-top: 0;
padding: 10px @grid-gutter-width 10px (@grid-gutter-width / 2); padding: 10px @grid-gutter-width 10px (@grid-gutter-width / 2);
} }
textarea {
resize: vertical; // so the textarea cannot be resized wider than the popup
}
} }
.origin-modal-popup-backdrop.modal-backdrop { .origin-modal-popup-backdrop.modal-backdrop {
......
...@@ -415,6 +415,9 @@ div.hopscotch-bubble .hopscotch-nav-button.prev { ...@@ -415,6 +415,9 @@ div.hopscotch-bubble .hopscotch-nav-button.prev {
margin-top: 0; margin-top: 0;
padding: 10px 40px 10px 20px; padding: 10px 40px 10px 20px;
} }
.origin-modal-popup textarea {
resize: vertical;
}
.origin-modal-popup-backdrop.modal-backdrop { .origin-modal-popup-backdrop.modal-backdrop {
background-color: transparent; background-color: transparent;
cursor: not-allowed; cursor: not-allowed;
......
...@@ -86,6 +86,10 @@ ...@@ -86,6 +86,10 @@
margin-top: 0; margin-top: 0;
padding: 10px @grid-gutter-width 10px (@grid-gutter-width / 2); padding: 10px @grid-gutter-width 10px (@grid-gutter-width / 2);
} }
textarea {
resize: vertical; // so the textarea cannot be resized wider than the popup
}
} }
.origin-modal-popup-backdrop.modal-backdrop { .origin-modal-popup-backdrop.modal-backdrop {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment