itube-specs 0.0.979 → 0.0.981

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.
@@ -215,9 +215,9 @@ function changeLocale(locale: string) {
215
215
 
216
216
  async function changeCountry(item: ISelectItem) {
217
217
  setCountry(item);
218
- // куку пишет вотчер useCookie — ждём флаш, иначе навигация может срезать запись
218
+ // куку пишет вотчер useCookie — ждём флаш, иначе перезагрузка может срезать запись
219
219
  await nextTick();
220
- window.location.href = '/';
220
+ window.location.reload();
221
221
  }
222
222
  </script>
223
223
 
@@ -42,7 +42,7 @@ export const useClientCountry = () => {
42
42
 
43
43
  /**
44
44
  * Ручной выбор страны в селекторе: наружу переживает перезагрузку только код. `place`
45
- * пересчитает следующий SSR — layout/language.vue тут же уходит в `location.href`.
45
+ * пересчитает следующий SSR — layout/language.vue тут же перезагружает текущую страницу.
46
46
  */
47
47
  const setCountry = (item: ISelectItem) => {
48
48
  code.value = item.key || '';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.979",
4
+ "version": "0.0.981",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {
@@ -141,4 +141,10 @@ const breadcrumbs = [
141
141
  .playlists__navigation {
142
142
  margin-bottom: 32px;
143
143
  }
144
+
145
+ /* Два класса, а не `._pagination`: у `.ui-pagination` своя `margin: auto auto 0` той же
146
+ специфичности, и при заполненной странице отбивка сверху схлопывалась в ноль. */
147
+ .ui-pagination.playlists__pagination {
148
+ margin-top: 32px;
149
+ }
144
150
  </style>