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
2 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue