Browse Source

Fixes input styling and event hooks

Because of missing type='text'
main
Eric Amodio 5 years ago
parent
commit
ff18ca5012
2 changed files with 7 additions and 5 deletions
  1. +4
    -2
      src/webviews/apps/scss/main.scss
  2. +3
    -3
      webpack.config.js

+ 4
- 2
src/webviews/apps/scss/main.scss View File

@ -920,7 +920,8 @@ section {
}
}
input[type='text'] {
input[type='text'],
input:not([type]) {
min-width: 245px;
}
@ -979,7 +980,8 @@ section {
.setting__input--format {
display: flex;
input[type='text'] {
input[type='text'],
input:not([type]) {
max-width: unset;
}
}

+ 3
- 3
webpack.config.js View File

@ -49,7 +49,7 @@ function getExtensionConfig(env) {
exclude: /node_modules/,
failOnError: false,
onDetected: function({ module: webpackModuleRecord, paths, compilation }) {
if (paths.some(p => /container\.ts/.test(p))) return;
if (paths.some(p => p.includes('container.ts'))) return;
compilation.warnings.push(new Error(paths.join(' -> ')));
}
@ -175,7 +175,7 @@ function getWebviewsConfig(env) {
? {
removeComments: true,
collapseWhitespace: true,
removeRedundantAttributes: true,
removeRedundantAttributes: false,
useShortDoctype: true,
removeEmptyAttributes: true,
removeStyleLinkTypeAttributes: true,
@ -203,7 +203,7 @@ function getWebviewsConfig(env) {
? {
removeComments: true,
collapseWhitespace: true,
removeRedundantAttributes: true,
removeRedundantAttributes: false,
useShortDoctype: true,
removeEmptyAttributes: true,
removeStyleLinkTypeAttributes: true,

Loading…
Cancel
Save