summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2014-08-04 10:15:44 +0300
committerJouni Koivuviita <jouni@vaadin.com>2014-08-07 19:04:33 +0000
commit474afffeb87cd2acc632f4bf061763e77dfe08e1 (patch)
treec0158203e9c380d5bc507d7979915c1f5836b1df /WebContent/VAADIN
parent67da8682f4f262ebf2d7598fa0f0a57fa013cd46 (diff)
downloadvaadin-framework-474afffeb87cd2acc632f4bf061763e77dfe08e1.tar.gz
vaadin-framework-474afffeb87cd2acc632f4bf061763e77dfe08e1.zip
ResponsiveConnector should request layout update when breakpoints change
(#14354) Change-Id: Ie995268f8d89a951e9ebb351edde4ba1e824101e
Diffstat (limited to 'WebContent/VAADIN')
-rw-r--r--WebContent/VAADIN/themes/tests-responsive/styles.css17
1 files changed, 16 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/tests-responsive/styles.css b/WebContent/VAADIN/themes/tests-responsive/styles.css
index db92a2a2fc..a06c920fe9 100644
--- a/WebContent/VAADIN/themes/tests-responsive/styles.css
+++ b/WebContent/VAADIN/themes/tests-responsive/styles.css
@@ -98,4 +98,19 @@
}
.v-csslayout-width-and-height[height-range~="500px-"][width-range~="600px-"] {
background: red;
-} \ No newline at end of file
+}
+
+/* Styles for ResponsiveLayoutUpdate test */
+.layout-update .change-width {
+ white-space: normal;
+ background: #ddd;
+}
+.layout-update[width-range="0-599px"] .change-width {
+ width: 200px;
+ height: 200px;
+}
+
+.layout-update[width-range="600px-"] .change-width {
+ width: 300px;
+ height: 300px;
+}