mithril-materialized 3.17.0 → 3.17.2

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": "mithril-materialized",
3
- "version": "3.17.0",
3
+ "version": "3.17.2",
4
4
  "description": "A materialize library for mithril.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -141,6 +141,8 @@ textarea.materialize-textarea {
141
141
  .input-field {
142
142
  input.number-input:not(.browser-default) {
143
143
  -moz-appearance: textfield;
144
+ box-sizing: border-box;
145
+ width: calc(100% - 0.75rem);
144
146
  padding-right: 2rem;
145
147
 
146
148
  &::-webkit-inner-spin-button,
@@ -153,7 +155,7 @@ textarea.materialize-textarea {
153
155
  .number-input-controls {
154
156
  position: absolute;
155
157
  top: 0;
156
- right: 0;
158
+ right: 0.25rem;
157
159
  display: flex;
158
160
  flex-direction: column;
159
161
  justify-content: center;
@@ -178,11 +180,6 @@ textarea.materialize-textarea {
178
180
  background-color: var(--mm-primary-color-alpha-10, rgba(38, 166, 154, 0.1));
179
181
  }
180
182
 
181
- &:focus-visible {
182
- outline: 2px solid var(--mm-primary-color, variables.$primary-color);
183
- outline-offset: -2px;
184
- }
185
-
186
183
  svg {
187
184
  font-size: 1.25rem;
188
185
  line-height: 1;