#fg-post-gallery {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
    flex-wrap: wrap;
}
#fg-post-gallery > li {
    position: relative;
}
#fg-post-gallery > li button {
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: transparent;
    font-family: dashicons;
    width: 24px;
    height: 24px!important;
    padding: 0;
    font-size: 24px;
    line-height: 20px;
    text-align: center;
    color: #464646;
    background-color: #fff;
    border-width: 0;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 30%);
}