Skip to content

Commit 14b9a19

Browse files
committed
fix: temporarily disable Random and Disco viewport controls until the full JS logic for these is re-enabled
1 parent cf2ecc1 commit 14b9a19

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

packages/uikit-workshop/src/scripts/components/pl-viewport-size-list/pl-viewport-size-list.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,8 @@ class ViewportSizes extends BaseComponent {
214214
</Tooltip>
215215
</li>
216216
)}
217-
{!this.ishControlsHide.random && (
217+
{/* {!this.ishControlsHide.random && (
218218
<li class="pl-c-size-list__item">
219-
{/* <button class="pl-c-size-list__action" id="pl-size-random">
220-
Rand
221-
</button> */}
222-
223219
<Tooltip
224220
placement="top"
225221
trigger="hover"
@@ -247,8 +243,8 @@ class ViewportSizes extends BaseComponent {
247243
)}
248244
</Tooltip>
249245
</li>
250-
)}
251-
{!this.ishControlsHide.disco && (
246+
)} */}
247+
{/* {!this.ishControlsHide.disco && (
252248
<li class="pl-c-size-list__item">
253249
<Tooltip
254250
placement="top"
@@ -278,7 +274,7 @@ class ViewportSizes extends BaseComponent {
278274
)}
279275
</Tooltip>
280276
</li>
281-
)}
277+
)} */}
282278
{!this.ishControlsHide.hay && (
283279
<li class="pl-c-size-list__item">
284280
<button class="pl-c-size-list__action mode-link" id="pl-size-hay">

0 commit comments

Comments
 (0)