From 8dd5d8e3c5dfcfb1994c03d6f8eab64d4d7fcd22 Mon Sep 17 00:00:00 2001 From: Javier Godoy <11554739+javier-godoy@users.noreply.github.com> Date: Fri, 29 Dec 2023 12:15:39 -0300 Subject: [PATCH] fix: fix style of first line in dense grid Close #101 --- .../resources/META-INF/frontend/fcGridHelper/vaadin-grid.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/META-INF/frontend/fcGridHelper/vaadin-grid.css b/src/main/resources/META-INF/frontend/fcGridHelper/vaadin-grid.css index 49ea809..0727483 100644 --- a/src/main/resources/META-INF/frontend/fcGridHelper/vaadin-grid.css +++ b/src/main/resources/META-INF/frontend/fcGridHelper/vaadin-grid.css @@ -24,9 +24,11 @@ * Copyright 2020-2022 Vaadin Ltd. */ -:host([theme~="fcGh-dense"]) [part~="cell"] { +:host([theme~="fcGh-dense"]) [part~="cell"], +:host([theme~="fcGh-dense"]:not([theme~='no-row-borders'])) [part~='first-row'] [part~="cell"] { min-height: var(--lumo-size-xxs); } + :host([theme~="fcGh-dense"]) { font-size: var(--lumo-font-size-xs); }