mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
feat: better implementation
This commit is contained in:
1 parent
2a4f1b9824
commit
ed6ea56617
2 files changed
+5
-2
No files matched your search
@@ -6,7 +6,7 @@
|
||||
</script>
|
||||
|
||||
<div
|
||||
style={`--p-col-width:${width?.toString() ?? ''}`}
|
||||
style={width ? `--p-col-width:${width?.toString()}` : ''}
|
||||
class="table-col"
|
||||
class:u-overflow-visible={showOverflow}
|
||||
class:is-only-desktop={onlyDesktop}
|
||||
|
||||
@@ -2,7 +2,10 @@
|
||||
export let width: number = null;
|
||||
</script>
|
||||
|
||||
<div style={`--p-col-width:${width?.toString() ?? ''}`} class="table-thead-col" role="columnheader">
|
||||
<div
|
||||
style={width ? `--p-col-width:${width?.toString()}` : ''}
|
||||
class="table-thead-col"
|
||||
role="columnheader">
|
||||
<span class="eyebrow-heading-3">
|
||||
<slot />
|
||||
</span>
|
||||
|
||||
Reference in new issue
Block a user