如何在Blazor SyncFusion卡组件中将2个<div>彼此相邻放置而不是彼此下方放置?

时间:2020-07-13 07:53:28

标签: html css blazor title syncfusion

我正在SyncFusion blazor中使用Card组件,该组件具有标题和字幕属性。在默认情况下,这些设置位于彼此下方:

enter image description here

使用以下css:

标题:

enter image description here

副标题:

enter image description here

但是我正试图将这些物品彼此挨着放置:

enter image description here

有人知道正确的CSS吗?

谢谢!

2 个答案:

答案 0 :(得分:1)

.e-card-header-caption { display: flex; flex-direction: row; }

答案 1 :(得分:0)

您可以为CSS样式的电子贺卡标题电子贺卡字幕类指定显示:内联在同一行中显示标题和副标题。

代码段

Dataset<Row> result_f = sparkSession.sql("select * from data_f where  ST_WITHIN(ST_Point(CAST(data_f.latitude AS Decimal(24,20)), CAST(data_f.longitude AS Decimal(24,20))),geom)");
result_f.show();

屏幕截图

enter image description here

样品 https://www.syncfusion.com/downloads/support/directtrac/general/ze/Subtitle1482508206.zip

谢谢, 杜尔加G