@openmrs/esm-styleguide 5.2.0 → 5.2.1-pre.1067

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": "@openmrs/esm-styleguide",
3
- "version": "5.2.0",
3
+ "version": "5.2.1-pre.1067",
4
4
  "license": "MPL-2.0",
5
5
  "description": "The styleguide for OpenMRS SPA",
6
6
  "browser": "dist/openmrs-esm-styleguide.js",
@@ -58,9 +58,9 @@
58
58
  "rxjs": "6.x"
59
59
  },
60
60
  "devDependencies": {
61
- "@openmrs/esm-extensions": "^5.2.0",
62
- "@openmrs/esm-react-utils": "^5.2.0",
63
- "@openmrs/esm-state": "^5.2.0",
61
+ "@openmrs/esm-extensions": "^5.2.1-pre.1067",
62
+ "@openmrs/esm-react-utils": "^5.2.1-pre.1067",
63
+ "@openmrs/esm-state": "^5.2.1-pre.1067",
64
64
  "autoprefixer": "^9.8.8",
65
65
  "css-minimizer-webpack-plugin": "^1.2.0",
66
66
  "i18next": "^19.6.0",
@@ -71,5 +71,5 @@
71
71
  "react-dom": "^18.1.0",
72
72
  "rxjs": "^6.5.3"
73
73
  },
74
- "gitHead": "f46cd16443cae13069a55067ca317ac995eef570"
74
+ "gitHead": "775403397dc73b9b5d6a9f5564c92e286a1ee60a"
75
75
  }
@@ -33,6 +33,14 @@
33
33
  border-right: none;
34
34
  }
35
35
 
36
+ /* Icon button */
37
+ .cds--btn--icon-only {
38
+ // Apply a size layout token that sets the default size of the icon-only button to `sm`
39
+ @include layout.use("size", $default: "sm");
40
+ // Remove extraneous top padding from the icon-only button
41
+ padding-block-start: 0;
42
+ }
43
+
36
44
  /* Side nav */
37
45
  .cds--side-nav {
38
46
  overflow: auto;