Skip to content

Commit

Permalink
#511 done
Browse files Browse the repository at this point in the history
  • Loading branch information
vaadin-miki committed Dec 22, 2023
1 parent 1f80021 commit 08838b1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @author miki
* @since 2022-04-08
*/
@CssImport(value = "./styles/label-positions.css", themeFor = "vaadin-custom-field")
@CssImport(value = "./styles/label-positions.css", themeFor = "map-field")
@Tag("map-field")
@JsModule("./map-field.js")
public class MapField<K, V> extends CustomField<Map<K, V>> implements HasStyle,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
* @author miki
* @since 2022-05-16
*/
@CssImport(value = "./styles/label-positions.css", themeFor = "vaadin-custom-field")
@CssImport(value = "./styles/label-positions.css", themeFor = "object-field")
@Tag("object-field")
@JsModule("./object-field.js")
public class ObjectField<T> extends CustomField<T>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* @author miki
* @since 2022-04-08
*/
@CssImport(value = "./styles/label-positions.css", themeFor = "vaadin-custom-field")
@CssImport(value = "./styles/label-positions.css", themeFor = "label-field")
@Tag("label-field")
@JsModule("./label-field.js")
public class LabelField<V> extends CustomField<V> implements HasStyle, WithLabelMixin<LabelField<V>>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* @author miki
* @since 2022-04-11
*/
@CssImport(value = "./styles/label-positions.css", themeFor = "vaadin-custom-field")
@CssImport(value = "./styles/label-positions.css", themeFor = "variant-field")
@Tag("variant-field")
@JsModule("./variant-field.js")
public class VariantField extends CustomField<Object> implements HasStyle,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
width: 100%;
}

:host([data-label-position-details~="after"]) [class|="vaadin"] [part="input-field"] {
:host([data-label-position-details~="after"]) [class|="vaadin"] [part="input-field"],
:host([data-label-position-details~="after"]) [class|="vaadin"] [part="input-fields"] {
order: -1;
}
:host([data-label-position-details~="after"][theme~="helper-above-field"]) [class|="vaadin"] [part="helper-text"] {
Expand Down

0 comments on commit 08838b1

Please sign in to comment.