mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix touch area
This commit is contained in:
@@ -3,11 +3,13 @@
|
||||
export let onlyDesktop = false;
|
||||
export let width: number = null;
|
||||
export let showOverflow = false;
|
||||
let className = '';
|
||||
export { className as class };
|
||||
</script>
|
||||
|
||||
<div
|
||||
style={width ? `--p-col-width:${width?.toString()}` : ''}
|
||||
class="table-col"
|
||||
class="table-col {className}"
|
||||
class:u-overflow-visible={showOverflow}
|
||||
class:is-only-desktop={onlyDesktop}
|
||||
data-title={title}
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
};
|
||||
</script>
|
||||
|
||||
<TableCell>
|
||||
<div on:click={handleClick} on:keypress={handleClick} />
|
||||
<TableCell class="u-position-relative">
|
||||
<div class="touch-area" on:click={handleClick} on:keypress={handleClick} />
|
||||
<InputCheckbox
|
||||
bind:element={el}
|
||||
id="select-{id}"
|
||||
@@ -32,9 +32,9 @@
|
||||
on:click={handleClick} />
|
||||
</TableCell>
|
||||
|
||||
<!-- <style lang="scss">
|
||||
<style lang="scss">
|
||||
.touch-area {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
</style> -->
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user