mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-09-08 04:05:23 -04:00
Use outline shorthand (#293)
* fix(xess): suppress Go inspection warning for boolean expressions Signed-off-by: Jason Cameron <git@jasoncameron.dev> * feat: use outline shorthand Signed-off-by: Jason Cameron <git@jasoncameron.dev> --------- Signed-off-by: Jason Cameron <git@jasoncameron.dev>
This commit is contained in:
parent
75b97eb03d
commit
6f652e711c
@ -42,10 +42,8 @@ templ base(title string, body templ.Component, challenge any, ogTags map[string]
|
|||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin: 1rem 0 2rem;
|
margin: 1rem 0 2rem;
|
||||||
outline-color: #b16286;
|
|
||||||
outline-offset: 2px;
|
outline-offset: 2px;
|
||||||
outline-style: solid;
|
outline: #b16286 solid 4px;
|
||||||
outline-width: 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.bar-inner {
|
.bar-inner {
|
||||||
|
@ -24,6 +24,7 @@ var (
|
|||||||
func init() {
|
func init() {
|
||||||
Mount(http.DefaultServeMux)
|
Mount(http.DefaultServeMux)
|
||||||
|
|
||||||
|
//goland:noinspection GoBoolExpressions
|
||||||
if anubis.Version != "devel" {
|
if anubis.Version != "devel" {
|
||||||
URL = filepath.Join(filepath.Dir(URL), "xess.min.css")
|
URL = filepath.Join(filepath.Dir(URL), "xess.min.css")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user