File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 49
49
right : 0 ;
50
50
transition : right 1s ;
51
51
}
52
+
53
+ .properties {
54
+ font-family : ' Courier New' , monospace ;
55
+ }
52
56
53
57
</style >
54
58
55
- <nav id ="component-detail-bar" class ="absolute z-10 h-full mb-6 pin-y bg-white shadow-md rightsidebar" class:rightsidebar-inactive =" { ! showMe }" class:slide-right =" { showMe }" >
59
+ <nav id ="component-detail-bar" class ="properties absolute z-10 h-full mb-6 pin-y bg-white shadow-md rightsidebar" class:rightsidebar-inactive =" { ! showMe }" class:slide-right =" { showMe }" >
56
60
<div class =" flex flex-column w-full text-lg p-4 bg-grey-lighter shadow-md" >
57
61
<button id ="menu-switch" class ="focus:outline-none" on:click ={toggleNavBar }>
58
62
<Fa icon ={faArrowRight } />
62
66
</div >
63
67
</div >
64
68
<form >
65
- <table class =" table-fixed" >
69
+ <table class =" table-fixed border-collapse table-auto w-full text-sm " >
66
70
<thead >
67
71
<tr >
68
- <th class =" text-left" >Property</th >
69
- <th class =" text-right " >Value</th >
72
+ <th class =" text-left border-b dark:border-slate-600 font-medium p-4 pl-8 pt-0 pb-3 text-slate-400 dark:text-slate-200 text-left " >Property</th >
73
+ <th class =" text-center border-b dark:border-slate-600 font-medium p-4 pl-8 pt-0 pb-3 text-slate-400 dark:text-slate-200 text-left " >Value</th >
70
74
</tr >
71
75
</thead >
72
76
<tbody >
73
77
74
78
{#each $currentComponentDetails as attribute }
75
- <tr >
76
- <td >{attribute .key }</td >
77
- <td > <input class ="text-right " placeholder ={attribute .value } value =" {attribute .value }" ></td >
79
+ <tr class = " border " >
80
+ <td class = "border bg-gray-300" >{attribute .key }</td >
81
+ <td class = "border" > <input class ="text-center " placeholder ={attribute .value } value =" {attribute .value }" ></td >
78
82
</tr >
79
83
{/each }
80
84
You can’t perform that action at this time.
0 commit comments