@brillout/docpress 0.17.1 → 0.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.
@@ -139,6 +139,51 @@
139
139
  display: none !important;
140
140
  }
141
141
 
142
+ /* Keep these breakpoints in sync with:
143
+ * https://github.com/brillout/docpress/blob/08b63e867c4c052479e19a6943ca5535b2762d02/src/css/code/block.css#L40-L56
144
+ */
145
+ @media not all and (hover: hover) and (pointer: fine) {
146
+ .choice-select__option {
147
+ padding: 5px;
148
+ }
149
+ @container container-viewport (max-width: 620px) {
150
+ .choice-select__option-label {
151
+ font-size: 12px !important;
152
+ }
153
+ .choice-select__option-icon {
154
+ width: 13px !important;
155
+ }
156
+ .choice-select__option-content img {
157
+ width: 11.5px !important;
158
+ height: 11.5px !important;
159
+ }
160
+ }
161
+ @container container-viewport (max-width: 550px) {
162
+ .choice-select__option-label {
163
+ font-size: 11px !important;
164
+ }
165
+ .choice-select__option-icon {
166
+ width: 12px !important;
167
+ }
168
+ .choice-select__option-content img {
169
+ width: 11px !important;
170
+ height: 11px !important;
171
+ }
172
+ }
173
+ @container container-viewport (max-width: 450px) {
174
+ .choice-select__option-label {
175
+ font-size: 10px !important;
176
+ }
177
+ .choice-select__option-icon {
178
+ width: 11px !important;
179
+ }
180
+ .choice-select__option-content img {
181
+ width: 10px !important;
182
+ height: 10px !important;
183
+ }
184
+ }
185
+ }
186
+
142
187
  .choice-select__list:has(.choice-select__option:nth-of-type(1) .choice-select__radio:checked) {
143
188
  top: 0;
144
189
  clip-path: inset(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.17.1",
3
+ "version": "0.17.2",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@brillout/picocolors": "^1.0.10",