@internetstiftelsen/styleguide 2.26.6 → 2.26.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetstiftelsen/styleguide",
3
- "version": "2.26.6",
3
+ "version": "2.26.7",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -102,7 +102,6 @@
102
102
  content: attr(data-title);
103
103
  position: absolute;
104
104
  bottom: -#{rhythm(3)};
105
- right: 0;
106
105
  text-transform: uppercase;
107
106
  text-align: center;
108
107
  font-size: $size-small;
@@ -143,11 +142,17 @@
143
142
  display: block;
144
143
  }
145
144
 
146
- button svg {
147
- display: none;
145
+ button {
146
+ &::after {
147
+ content: attr(data-title-alt);
148
+ }
148
149
 
149
- & + svg {
150
- display: block;
150
+ svg {
151
+ display: none;
152
+
153
+ & + svg {
154
+ display: block;
155
+ }
151
156
  }
152
157
  }
153
158
  }