mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #72 from appwrite/refactor-cell-width
refactor: cell width
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
</script>
|
||||
|
||||
<div
|
||||
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={`width: ${width?.toString() + 'px' ?? ''}`} 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