Compare commits

...

2 Commits

Author SHA1 Message Date
刘祥超
49da63c146 修复glibc版本过低无法启动的问题 2024-03-25 16:50:19 +08:00
刘祥超
e45361d9d3 修复手机下菜单太宽的问题 2024-03-25 11:47:21 +08:00
4 changed files with 9 additions and 3 deletions

View File

@@ -121,7 +121,7 @@ function build() {
env CC="${GCC_DIR}/${CC_PATH}" \ env CC="${GCC_DIR}/${CC_PATH}" \
CXX="${GCC_DIR}/${CXX_PATH}" \ CXX="${GCC_DIR}/${CXX_PATH}" \
CGO_ENABLED=1 \ CGO_ENABLED=1 \
GOOS="$OS" GOARCH="$ARCH" go build -trimpath -tags "${TAG} gcc" -ldflags="-s -w" -o "$DIST"/bin/${NAME} "$ROOT"/../cmd/edge-admin/main.go GOOS="$OS" GOARCH="$ARCH" go build -trimpath -tags "${TAG} gcc" -ldflags="-linkmode external -extldflags -static -s -w" -o "$DIST"/bin/${NAME} "$ROOT"/../cmd/edge-admin/main.go
else else
GOOS="$OS" GOARCH="$ARCH" go build -trimpath -tags $TAG -ldflags="-s -w" -o "$DIST"/bin/${NAME} "$ROOT"/../cmd/edge-admin/main.go GOOS="$OS" GOARCH="$ARCH" go build -trimpath -tags $TAG -ldflags="-s -w" -o "$DIST"/bin/${NAME} "$ROOT"/../cmd/edge-admin/main.go
fi fi

View File

@@ -296,6 +296,9 @@ p.margin {
padding: 0; padding: 0;
} }
@media screen and (max-width: 512px) { @media screen and (max-width: 512px) {
.main-menu {
width: auto !important;
}
.main-menu .ui.menu { .main-menu .ui.menu {
width: 3.6em !important; width: 3.6em !important;
} }

File diff suppressed because one or more lines are too long

View File

@@ -148,6 +148,10 @@ div.margin, p.margin {
} }
@media screen and (max-width: 512px) { @media screen and (max-width: 512px) {
.main-menu {
width: auto !important;
}
.main-menu .ui.menu { .main-menu .ui.menu {
width: 3.6em !important; width: 3.6em !important;
@@ -174,7 +178,6 @@ div.margin, p.margin {
.ui.menu { .ui.menu {
padding-bottom: 3em; padding-bottom: 3em;
.item { .item {
.subtitle { .subtitle {
display: none; display: none;