#Jump to Present Button Revamp from an
1 messages · Page 1 of 1 (latest)
For me it's in the center, rather than on the bottom right.
Is this intensional?
hm no
i'll fix that later
Okay
@rugged salmon could you tell me how to recreate the bug?
What do you mean by that?
like maybe give some info on how i can have that bug so i could fix it
cause it isnt really happening to me
i think it might have something to do with the message button grid
i have an import that causes my buttons to all be on the right and more space when typing. This is the import for it:
@import url(https://raw.githubusercontent.com/SEELE1306/SEELE1306.github.io/main/Snippets/MessageSection/import.css);
eh
if you want i will try to give you a fix later on
but its because of another snippet so not really my fault
Okay
Hey @spring hedge this plugin seems to have broke after the disord update, do you plan to fix it
I've tested it just now
seems to be working fine
Discord hasn't changed the classes of the jumpToPresentBar at all, maybe you could see if there are any conflicting css/plugins again?
yes it also works for me now, thanks!
hey
the loading thing on the button goes to the middle left of the screen after pressing it
is it possble to change when it appears, like condition or smtn?
So the icon disappeared on me with the new updates. How can I fix it?
this is really old, discord completely changed how the bar looks, so this wont work at all
I know it is. It surprisingly still works and I still prefer it over vanilla and other solutions. Any plans to update?
I will look into it when I'm free, i'll let you know if I do fix it
Not a problem. I do appreciate it. Here is my current version. I was able to get the icon I wanted working, but I know it is not right, white, & doesn't disappear when hovered over. I may or may not leave the icon on my Github as it's temporary.
/* Better Jump To Present Button */
[class*="jumpToPresentBar"] {
display: contents;
}
[class*="jumpToPresentBar"] > button:first-child {
display: none;
}
[class*="jumpToPresentBar"] > button:last-child {
position: absolute;
z-index: 1;
bottom: 8px;
right: 8px;
padding: 16px !important;
height: 16px;
background: url("https://raw.githubusercontent.com/BigFlubba/discord-crap/refs/heads/main/150-Interactive%20Normal-32px.png");
background-color: #5865F2;
box-shadow: var(--elevation-high);
border-radius: 100px;
display: flex;
font-size: 0px;
color: transparent;
transition: font-size .2s .1s, color .2s, padding .4s .1s;
}
[class*="jumpToPresentBar"] > button svg {
order: -1;
margin: 0px;
height: 24px;
width: 24px;
top: 0;
margin-right: 0px;
margin-left: 0px;
color: #FFFFFF;
transition: margin .6s;
}
[class*="jumpToPresentBar"]:hover > button {
padding: 18px 18px !important;
font-size: 16px;
color: #FFFFFF;
transition: font-size .2s, color .2s .1s, padding .4s;
}
[class*="jumpToPresentBar"]:hover > button svg {
margin-right: 2px;
margin-left: -6px;
}
Icon 150
e=>{var t,n,{size:s="md",width:c,height:f,color:_=i.Z.colors.INTERACTIVE_NORMAL,colorClass:p=""}=e,h=d(e,["size","width","height","color","colorClass"]);let m=(0,o.m)(s),g=null!=(t=null==m?void 0:m.width)?t:c,E=null!=(n=null==m?void 0:m.height)?n:f;return(0,r.jsx)("svg",u(l({},(0,a.Z)(h)),{xmlns:"http://www.w3.org/2000/svg",width:g,height:E,fill:"none",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{fill:"string"==typeof _?_:_.css,d:"M5.3 9.3a1 1 0 0 1 1.4 0l5.3 5.29 5.3-5.3a1 1 0 1 1 1.4 1.42l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 0 1 0-1.42Z",className:p})}))}
thanks for the icon
Np.
fixed it
here you go
/* Jump To Present Bar Revamp */
[class*="jumpToPresentBar"] {
display: contents;
}
[class*="jumpToPresentBar"] > div {
display: none;
}
[class*="jumpToPresentBar"] > button {
position: absolute;
z-index: 1;
bottom: 24px;
right: 22px;
padding: 8px !important;
padding-left: 32px !important;
height: auto;
background-color: #2e353b20;
box-shadow: var(--elevation-high);
border-radius: 100px;
display: flex;
font-size: 0px;
color: transparent;
transition: font-size .2s .1s, color .2s, padding .4s .1s;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M5.3 9.3a1 1 0 0 1 1.4 0l5.3 5.29 5.3-5.3a1 1 0 1 1 1.4 1.42l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 0 1 0-1.42Z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: 24px 24px;
background-position: 8px center;
}
[class*="jumpToPresentBar"]:hover > button {
padding: 8px 18px 8px 32px !important;
font-size: 14px;
color: #FFFFFF;
transition: font-size .2s, color .2s .1s, padding .4s;
}
Awesome! it works! Thanks! The alignment when open was a little off (for me at least) so I tried to do the best I could. I also swapped out you're class*= to the more performant class^=.
/* Jump To Present Bar Revamp */
[class^="jumpToPresentBar"] {
display: contents;
}
[class^="jumpToPresentBar"] > div {
display: none;
}
[class^="jumpToPresentBar"] > button {
position: absolute;
z-index: 1;
bottom: 24px;
right: 22px;
padding: 8px !important;
padding-left: 32px !important;
height: auto;
background-color: #2e353b20;
box-shadow: var(--elevation-high);
border-radius: 100px;
display: flex;
font-size: 0px;
color: transparent;
transition: font-size .2s .1s, color .2s, padding .4s .1s;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M5.3 9.3a1 1 0 0 1 1.4 0l5.3 5.29 5.3-5.3a1 1 0 1 1 1.4 1.42l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 0 1 0-1.42Z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: 24px 24px;
background-position: 8px center;
}
[class^="jumpToPresentBar"]:hover > button {
padding: 10px 12px 6px 32px !important;
font-size: 14px;
color: #FFFFFF;
transition: font-size .2s, color .2s .1s, padding .4s;
}
Then the one adjusted to my liking (if anyone else wants it).
/*Jump To Present Bar Revamp*/
[class^="jumpToPresentBar"] {
display: contents;
}
[class^="jumpToPresentBar"] > div {
display: none;
}
[class^="jumpToPresentBar"] > button {
position: absolute;
z-index: 1;
bottom: 8px;
right: 8px;
padding: 8px !important;
padding-left: 32px !important;
height: 42px;
background-color: #2e353b20;
box-shadow: var(--elevation-high);
border-radius: 100px;
display: flex;
font-size: 0px;
color: transparent;
transition: font-size .2s .1s, color .2s, padding .4s .1s;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M5.3 9.3a1 1 0 0 1 1.4 0l5.3 5.29 5.3-5.3a1 1 0 1 1 1.4 1.42l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 0 1 0-1.42Z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: 24px 24px;
background-position: 8px center;
}
[class^="jumpToPresentBar"]:hover > button {
padding: 10px 12px 6px 32px !important;
font-size: 14px;
color: #FFFFFF;
transition: font-size .2s, color .2s .1s, padding .4s;
}
It's weird because I am not seeing as much alignment issues on Vesktop as I am on Desktop. cat_shrug
Vesktop:
[class^="jumpToPresentBar"]:hover > button {
padding: 8px 12px 8px 32px !important;
font-size: 14px;
color: #FFFFFF;
transition: font-size .2s, color .2s .1s, padding .4s;
}
Oh well
thats weird
but anyway, thanks for those too
Yah, I don't know what is happening. You're welcome!
}
/* Jump To Present Bar Revamp */
[class^="jumpToPresentBar"] {
display: contents;
}
[class^="jumpToPresentBar"] > div {
display: none;
}
[class^="jumpToPresentBar"] > button {
position: absolute;
z-index: 1;
bottom: 8px;
right: 8px;
padding: 8px !important;
padding-left: 32px !important;
height: 42px;
background-color: #5865F2;
box-shadow: var(--elevation-high);
border-radius: 100px;
display: flex;
font-size: 0px;
color: transparent;
transition: font-size .2s .1s, color .2s, padding .4s .1s;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M5.3 9.3a1 1 0 0 1 1.4 0l5.3 5.29 5.3-5.3a1 1 0 1 1 1.4 1.42l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 0 1 0-1.42Z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: 24px 24px;
background-position: 8px center;
}
[class^="jumpToPresentBar"]:hover > button {
padding: 10px 12px 6px 32px !important;
font-size: 14px;
color: #FFFFFF;
transition: font-size .2s, color .2s .1s, padding .4s;
}```
Im using this and mine still looking weird :
Can u help me plz
Anyone can helps me ?
@meager sphinx sry for ping can u help me to fix my display bug plz ?
Anyone ?
it hasnt even been a month yet lol, give it some time
[class^="jumpToPresentBar_"]{
margin: 0 10px 15px auto;
background: transparent;
box-shadow: none;
border: 0;
min-width: 0px;
}
[class^="jumpToPresentBar_"] > div[class^="barButtonMain_"],
[class^="jumpToPresentBar_"] > button[class^="button_"] span{
display:none;
}
[class^="jumpToPresentBar_"] > button[class^="button_"]{
min-width: 0px;
padding:0 3px;
box-shadow: none;
border: 0;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M5.3 9.3a1 1 0 0 1 1.4 0l5.3 5.29 5.3-5.3a1 1 0 1 1 1.4 1.42l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 0 1 0-1.42Z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: 24px 24px;
background-position: center;
background-color: gray;
transition: background-color 0.5s, padding 0.5s;
}
[class^="jumpToPresentBar_"] > button[class^="button_"]:hover{
background-color: royalblue;
padding:2px 5px;
}