Skip to content

Commit

Permalink
Merge pull request #330 from ProfessionalWiki/bs-461
Browse files Browse the repository at this point in the history
Bs 461
  • Loading branch information
malberts authored Mar 30, 2022
2 parents b169156 + aec9ba0 commit 5f47a76
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Release Notes

### Chameleon 3.4.3

Released on March 30, 2022.

* Fixed Bootstrap 4.6.1 compatibility (thanks @malberts)

### Chameleon 3.4.2

Released on March 18, 2022.
Expand Down
2 changes: 1 addition & 1 deletion resources/styles/_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//
// @param $value a value in rem or px
// @return unitless px value
@function abs( $value ) {
@function rem-to-px( $value ) {
@if (type-of($value) == "number") and ($value != 0) {

$unit: unit($value);
Expand Down
4 changes: 2 additions & 2 deletions resources/styles/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
// top vertically (or as far down as possible given the diameter)
@mixin bullet( $color: $list-bullet-color, $width: $list-bullet-size, $height: $font-size-base ) {

$width: abs($width);
$height: abs($height);
$width: rem-to-px($width);
$height: rem-to-px($height);
list-style: outside disc url("data:image/svg+xml;charset=UTF-8,<svg width='#{$width}' height='#{$height}' version='1.1' xmlns='http://www.w3.org/2000/svg'><circle cx='#{$width/2}' cy='#{min($height - min($width, $height)/2, 0.65*$height)}' r='#{min($width, $height)/2}' fill='#{$color}'/></svg>");
// IE hack: IE < 9 does not properly work with SVGs. Serve them some fallback PNG.
list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAJCAYAAAARml2dAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABUSURBVAiZdY4xDsAgFELB2J0DdnbwQI5OHvDfgC62SY0yvhAetI1dWEq5JN0kKwDYbhEx8oT9a5JdEtLb/M2QNW0FAJLttkLbLUfEkIRVztPdo+MBm8UkW9Zxc20AAAAASUVORK5CYII=")#{"\9"};
Expand Down
2 changes: 1 addition & 1 deletion skin.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"[https://www.mediawiki.org/wiki/User:F.trott Stephan Gambke]",
"[https://professional.wiki/ Professional.Wiki]"
],
"version": "3.4.2",
"version": "3.4.3",
"url": "https://www.mediawiki.org/wiki/Skin:Chameleon",
"descriptionmsg": "chameleon-desc",
"license-name": "GPL-3.0-or-later",
Expand Down

0 comments on commit 5f47a76

Please sign in to comment.