Skip to content

Commit

Permalink
Modify style of popover for the button used for deleting assets.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomiguelino committed Apr 27, 2023
1 parent e91f61e commit d5463dd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
21 changes: 13 additions & 8 deletions bin/build_containers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ for container in ${SERVICES[@]}; do
export CHROMEDRIVER_DL_URL="https://chromedriver.storage.googleapis.com/107.0.5304.62/chromedriver_linux64.zip"
elif [ "$container" == 'wifi-connect' ]; then
# We don't support wifi-connect on x86 yet.
if [ "$BOARD" == 'x86' ]; then
continue
fi
# @TODO: Uncomment when ready.
# if [ "$BOARD" == 'x86' ]; then
# continue
# fi

# Logic for determining the correct architecture for the wifi-connect container
if [ "$TARGET_PLATFORM" = 'linux/arm/v6' ]; then
Expand All @@ -106,11 +107,6 @@ for container in ${SERVICES[@]}; do
cat "docker/Dockerfile.$container.tmpl" | envsubst > "docker/Dockerfile.$container"
fi

if [[ -n "${DOCKERFILES_ONLY:-}" ]] && [[ "${DOCKERFILES_ONLY}" -ne 0 ]]; then
echo "Variable DOCKERFILES_ONLY is set. Skipping build for $container..."
continue
fi

# If we're running on x86, remove all Pi specific packages
if [ "$BOARD" == 'x86' ]; then
if [[ $OSTYPE == 'darwin'* ]]; then
Expand All @@ -134,6 +130,15 @@ for container in ${SERVICES[@]}; do
fi
fi

if [[ -n "${DEV_MODE:-}" ]] && [[ "${DEV_MODE}" -ne 0 ]]; then
sed -i 's/RUN --mount.\+ /RUN /g' "docker/Dockerfile.$container"
fi

if [[ -n "${DOCKERFILES_ONLY:-}" ]] && [[ "${DOCKERFILES_ONLY}" -ne 0 ]]; then
echo "Variable DOCKERFILES_ONLY is set. Skipping build for $container..."
continue
fi

docker "${DOCKER_BUILD_ARGS[@]}" \
--cache-from "type=local,src=/tmp/.buildx-cache" \
--cache-to "type=local,dest=/tmp/.buildx-cache" \
Expand Down
4 changes: 2 additions & 2 deletions static/css/screenly.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions static/sass/_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ a.nav-link:not(.active) {
}

.popover-delete-content {
width: 236px;
padding-bottom: 38px;
width: 200px;
padding-bottom: 4em;
}

}
Expand Down

0 comments on commit d5463dd

Please sign in to comment.