Commit df5f7386 authored by Lukas 'ai-pi' Eipert's avatar Lukas 'ai-pi' Eipert Committed by Denys Mishunov
Browse files

feat(chat): Update GitLab/UI and add tailwind support

The update brings the following updates to Duo Chat:
- the extended User Feedback form
- force a scroll-bar if we have messages
- remove unused hero header
- move global error to header
parent f9be2a1a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@import '@gitlab/ui/src/scss/gitlab_ui';
@import '@gitlab/ui/src/scss/utilities';

@tailwind utilities;

// Variables and root-level styles
:root {
  --font-family: var(--vscode-font-family);
+67 −172

File changed.

Preview size limit exceeded, changes collapsed.

+3 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
    "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
  },
  "dependencies": {
    "@gitlab/ui": "^74.4.0",
    "@gitlab/ui": "^77.3.0",
    "dompurify": "^3.0.5",
    "v-tooltip": "^2.1.3",
    "vue": "^2.7.16",
@@ -34,7 +34,9 @@
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "node-html-parser": "^6.1.12",
    "postcss": "^8.4.35",
    "prettier": "^2.5.1",
    "tailwindcss": "^3.4.1",
    "vite": "^3.0.2",
    "vue-jest": "^3.0.7"
  }
+5 −0
Original line number Diff line number Diff line
module.exports = {
  plugins: {
    tailwindcss: {},
  },
};
+10 −0
Original line number Diff line number Diff line
const tailwindDefaults = require('@gitlab/ui/tailwind.defaults');

module.exports = {
  content: [
    './*/src/**/*.{vue,js}',
    './*/index.html',
    './node_modules/@gitlab/ui/dist/**/*.{vue,js}',
  ],
  presets: [tailwindDefaults],
};