@miljodirektoratet/md-css 2.1.0 → 2.2.1

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": "@miljodirektoratet/md-css",
3
- "version": "2.1.0",
3
+ "version": "2.2.1",
4
4
  "description": "CSS for Miljødirektoratet",
5
5
  "author": "Miljødirektoratet",
6
6
  "main": "./src/index.css",
@@ -37,14 +37,22 @@
37
37
  height: 1rem;
38
38
  width: 1rem;
39
39
  flex-shrink: 0;
40
- margin-right: 0.4rem;
40
+ margin-right: 1rem;
41
+ }
42
+
43
+ .md-button--small > .md-button__leftIcon {
44
+ margin-right: 0.5rem;
41
45
  }
42
46
 
43
47
  .md-button__rightIcon {
44
48
  height: 1rem;
45
49
  width: 1rem;
46
50
  flex-shrink: 0;
47
- margin-left: 0.4rem;
51
+ margin-left: 1rem;
52
+ }
53
+
54
+ .md-button--small > .md-button__rightIcon {
55
+ margin-left: 0.5rem;
48
56
  }
49
57
 
50
58
  .md-button:focus {
@@ -128,7 +136,7 @@
128
136
  }
129
137
 
130
138
  .md-button--tertiary:focus:hover:enabled {
131
- background-color: var(--mdPrimaryColor20);
139
+ background-color: var(--mdPrimaryColor20);
132
140
  }
133
141
 
134
142
  .md-button--tertiary:disabled {