Skip to content

Commit 43c4920

Browse files
committed
Put the playground back into the weird root, but fix tailwind scanning.
1 parent 461bec3 commit 43c4920

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

browser-extension/src/entrypoints/popup/popup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ async function getOpenSpots(): Promise<CommentTableRow[]> {
1717
const message: GetOpenSpotsMessage = { type: 'GET_OPEN_SPOTS' }
1818
const response = (await browser.runtime.sendMessage(message)) as GetTableRowsResponse
1919
logger.debug('Received response:', response)
20-
return response.rows || []
20+
return response.rows
2121
} catch (error) {
2222
logger.error('Error sending message to background:', error)
2323
return []

browser-extension/src/entrypoints/popup/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "tailwindcss";
1+
@import "tailwindcss" source("../../..");
22
/* Popup window frame styles */
33
:root {
44
--popup-width: 600px;

browser-extension/vite.playground.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default defineConfig({
1414
'@': path.resolve('./src'),
1515
},
1616
},
17+
root: 'tests/playground',
1718
server: {
1819
host: true,
1920
open: true,

0 commit comments

Comments
 (0)