feat(ui): 界面支持按显示器位置预览。

This commit is contained in:
2023-03-19 11:19:20 +08:00
parent 86d4ab6e6a
commit 5df7f54bed
7 changed files with 80 additions and 19 deletions

View File

@@ -8,8 +8,8 @@ type DisplayInfoItemProps = {
export const DisplayInfoItem: ParentComponent<DisplayInfoItemProps> = (props) => {
return (
<dl class="px-3 py-1 flex hover:bg-gray-100/50 gap-2 text-black rounded">
<dt class="uppercase w-1/2 select-all">{props.label}</dt>
<dd class="select-all">{props.children}</dd>
<dt class="uppercase w-1/2 select-all whitespace-nowrap">{props.label}</dt>
<dd class="select-all w-1/2 whitespace-nowrap">{props.children}</dd>
</dl>
);
};