Browse Source

fix/Added white background to grid in sharedview

pull/3197/head
Muhammed Mustafa 2 years ago
parent
commit
b26b023143
  1. 4
      packages/nc-gui-v2/components/shared-view/Grid.vue
  2. 2
      packages/nc-gui-v2/layouts/shared-view.vue

4
packages/nc-gui-v2/components/shared-view/Grid.vue

@ -18,9 +18,9 @@ useProvideSmartsheetStore(sharedView as Ref<TableType>, meta)
</script> </script>
<template> <template>
<div class="nc-container flex flex-col h-full mt-4 px-6"> <div class="nc-container flex flex-col h-full mt-1.5 px-12">
<SmartsheetToolbar /> <SmartsheetToolbar />
<SmartsheetGrid class="px-3" /> <SmartsheetGrid />
</div> </div>
</template> </template>

2
packages/nc-gui-v2/layouts/shared-view.vue

@ -12,7 +12,7 @@ export default {
<template> <template>
<a-layout id="nc-app"> <a-layout id="nc-app">
<a-layout class="!flex-col"> <a-layout class="!flex-col bg-white">
<a-layout-header class="flex !bg-primary items-center text-white pl-3 pr-4 shadow-lg"> <a-layout-header class="flex !bg-primary items-center text-white pl-3 pr-4 shadow-lg">
<div class="transition-all duration-200 p-2 cursor-pointer transform hover:scale-105" @click="navigateTo('/')"> <div class="transition-all duration-200 p-2 cursor-pointer transform hover:scale-105" @click="navigateTo('/')">
<img width="35" alt="NocoDB" src="~/assets/img/icons/512x512-trans.png" /> <img width="35" alt="NocoDB" src="~/assets/img/icons/512x512-trans.png" />

Loading…
Cancel
Save