Bläddra i källkod

Minor UI change in TweakpaneEditorPlugin.

master
Palash Bansal 2 år sedan
förälder
incheckning
1edcf6c67b
Inget konto är kopplat till bidragsgivarens mejladress

+ 1
- 1
plugins/tweakpane-editor/package.json Visa fil

@@ -1,7 +1,7 @@
{
"name": "@threepipe/plugin-tweakpane-editor",
"description": "Tweakpane Editor Plugin for ThreePipe",
"version": "0.2.0",
"version": "0.2.1",
"devDependencies": {
"tippy.js": "^6.3.7",
"treejs": "git://github.com/repalash/treejs.git#d303016bb74e75725d13e97291ac1d4727985918"

+ 25
- 6
plugins/tweakpane-editor/src/TweakpaneEditorPlugin.css Visa fil

@@ -136,7 +136,25 @@
min-width: 6rem;
border-radius: 0 0 0.5rem 0.5rem;
gap: 8px;
flex-wrap: nowrap !important;
overflow-x: scroll;
pointer-events: auto;
max-width: 100%;
align-content: center;
justify-content: flex-start;
align-items: center;
box-sizing: border-box;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.mode-buttons-container::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.mode-buttons-container {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}


.mode-button {
font-weight: 500;
@@ -236,13 +254,14 @@


#tweakpaneUiContainer {
margin-top: 7.5rem;
}
@media only screen and (min-width: 480px) {
#tweakpaneUiContainer {
margin-top: 5.5rem;
}
margin-top: 3.5rem;
}
/*@media only screen and (min-width: 480px) {*/
/* #tweakpaneUiContainer {*/
/* margin-top: 5.5rem;*/
/* }*/
/*}*/

@media only screen and (max-width: 920px) {
#tweakpaneUiContainer {
height: calc(100% - 12.5rem) !important;

Laddar…
Avbryt
Spara