| @@ -7,9 +7,9 @@ | ||
| 7 | 7 | } |
| 8 | 8 | |
| 9 | 9 | .jp-ms-data-time input[type="text"] { |
| 10 | 10 | text-align: right; |
| 11 | - width: 2.1em; | |
| 11 | + width: 3.2em; | |
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | .jp-ms-data-time .month { |
| 15 | 15 | width: 5.4em; |
| @@ -17,17 +17,8 @@ | ||
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | .jp-ms-data-time .year[type="text"] { |
| 20 | 20 | text-align: right; |
| 21 | - width: 3.2em; | |
| 22 | -} | |
| 23 | - | |
| 24 | -.jp-ms-data-time input[type="text"] { | |
| 25 | - text-align: right; | |
| 26 | - width: 3.2em; | |
| 27 | -} | |
| 28 | - | |
| 29 | -.jp-ms-data-time .year[type="text"] { | |
| 30 | 21 | width: 4.5em; |
| 31 | 22 | } |
| 32 | 23 | |
| 33 | 24 | .jp-ms-data-time .assistive-text, |
| @@ -32,13 +23,13 @@ | ||
| 32 | 23 | |
| 33 | 24 | .jp-ms-data-time .assistive-text, |
| 34 | 25 | .jp-ms-data-unit .assistive-text { |
| 35 | 26 | position: absolute !important; |
| 36 | - clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ | |
| 37 | - clip: rect(1px, 1px, 1px, 1px); | |
| 27 | + clip-path: inset(50%); | |
| 38 | 28 | } |
| 39 | 29 | |
| 40 | 30 | @media screen and (max-width: 782px) { |
| 31 | + | |
| 41 | 32 | .jp-ms-data-time input[type="text"], |
| 42 | 33 | .jp-ms-data-time .year[type="text"] { |
| 43 | 34 | width: 2.8em; |
| 44 | 35 | |
| @@ -48,9 +39,10 @@ | ||
| 48 | 39 | width: 4em; |
| 49 | 40 | } |
| 50 | 41 | } |
| 51 | 42 | |
| 52 | -/* Fix styles of the Milestone block when it is dispayed as a part of the Legacy Widget block */ | |
| 43 | +/* Fix styles of the Milestone block when it is displayed | |
| 44 | + * as a part of the Legacy Widget block */ | |
| 53 | 45 | .wp-block-legacy-widget__edit-form .widget-inside .widget-content .jp-ms-data-time .month { |
| 54 | 46 | display: inline-block; |
| 55 | 47 | width: 6.5em; |
| 56 | 48 | min-height: 34px; |
| @@ -67,5 +59,5 @@ | ||
| 67 | 59 | |
| 68 | 60 | .editor-styles-wrapper ul.milestone-type { |
| 69 | 61 | list-style-type: none; |
| 70 | 62 | padding-left: 0; |
| 71 | -} | |
| 63 | +} | |