From f4ae5052f6e376215daf47bc2da794b09ae23c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Mon, 21 Jun 2021 00:38:22 +0200 Subject: [PATCH] adding --- dist/plain-ui.css | 14 +++++++------- src/scss/components/_bar.scss | 4 ++-- src/scss/components/_panel.scss | 2 +- webpack.mix.js | 7 +------ 4 files changed, 11 insertions(+), 16 deletions(-) diff --git a/dist/plain-ui.css b/dist/plain-ui.css index dd5292c..f38af79 100644 --- a/dist/plain-ui.css +++ b/dist/plain-ui.css @@ -847,7 +847,7 @@ svg.field-choice__checked { margin-right: 0; } .panel__body { - padding: 0.6em 1.2em; + padding: 0.25em 1em; } .figure { @@ -943,9 +943,9 @@ img.media { } .bar__start { justify-content: start; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; + min-width: -webkit-max-content; + min-width: -moz-max-content; + min-width: max-content; } .bar__main { width: 100%; @@ -953,9 +953,9 @@ img.media { .bar__end { text-align: right; margin-left: 0.75em; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; + min-width: -webkit-max-content; + min-width: -moz-max-content; + min-width: max-content; } .bar__start, .bar__main, .bar__end { align-self: center; diff --git a/src/scss/components/_bar.scss b/src/scss/components/_bar.scss index 7053c86..01f5732 100644 --- a/src/scss/components/_bar.scss +++ b/src/scss/components/_bar.scss @@ -20,7 +20,7 @@ &__start { justify-content: start; - width: fit-content; + min-width: max-content; } &__main { @@ -30,7 +30,7 @@ &__end { text-align: right; margin-left: 0.75em; - width: fit-content; + min-width: max-content; } &__start, &__main, &__end { diff --git a/src/scss/components/_panel.scss b/src/scss/components/_panel.scss index 595c33d..dad206e 100644 --- a/src/scss/components/_panel.scss +++ b/src/scss/components/_panel.scss @@ -51,7 +51,7 @@ } &__body { - padding: 0.6em 1.2em; + padding: 0.25em 1em; } } } \ No newline at end of file diff --git a/webpack.mix.js b/webpack.mix.js index f51df61..efcf01c 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -38,9 +38,4 @@ mix.webpackConfig({ mix .sass('src/scss/plain-ui.scss', 'dist/plain-ui.css') - .copy('src/fonts/*', 'dist/fonts') - .options({ - postCss: [ - require('postcss-css-variables')() - ] - }) \ No newline at end of file + .copy('src/fonts/*', 'dist/fonts') \ No newline at end of file