Skip to content

Commit c3b5a01

Browse files
committed
WorkspaceItem: hide icons and buttons on mobile
1 parent 8ad9e16 commit c3b5a01

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/css/code/workspace-item.css

+15
Original file line numberDiff line numberDiff line change
@@ -224,3 +224,18 @@
224224
padding-left: 0.75rem;
225225
margin-left: -0.75rem;
226226
}
227+
228+
229+
@media only screen and (--u-viewport_max-lg) {
230+
.workspace-item .definition-doc-columns .icon-column {
231+
display: none;
232+
}
233+
}
234+
235+
@media only screen and (--u-viewport_max-sm) {
236+
.workspace-item .workspace-item_header .hash,
237+
.workspace-item .workspace-item_header .action-menu,
238+
.workspace-item .workspace-item_header .copy-code {
239+
display: none;
240+
}
241+
}

0 commit comments

Comments
 (0)