We planned to upgrade GitLab and Mattermost to the latest version this Friday morning. Expect some downtime!

Commit 2c482b7a authored by Tim Steenvoorden's avatar Tim Steenvoorden

simplify CSS classes

parent 3cb094f8
Pipeline #25367 failed with stage
in 58 seconds
......@@ -13,24 +13,28 @@
align-self: auto;
}
/* Make generated labels flow on top */
/* Make generated labels flow on top
.itasks-container.itasks-form-item {
flex-direction: column;
}
*/
/* Set base padding and indent vertical structures horizontally */
.typedtasks-base {
flex: 0 0 auto;
padding: 0.2em 0.4em;
margin: 0.8em 1.6em;
}
/* Center horizontal structures vertically */
.typedtasks-horizontal {
flex-direction: row;
align-items: center;
margin: 0.2em;
}
.typedtasks-vertical {
flex-direction: column;
}
/* Add background boxes which get darker with nesting */
......
......@@ -391,9 +391,9 @@ where
stringEditor :: Editor String
stringEditor = gEditor{|*|}
basicClasses = [ "typedtasks-base", "itasks-wrap-width", "itasks-wrap-height" ]
horizontalClasses = [ "typedtasks-horizontal", "itasks-horizontal" ]
verticalClasses = [ "typedtasks-vertical", "itasks-vertical" ]
basicClasses = [ "typedtasks-base" ]
horizontalClasses = [ "typedtasks-horizontal" ]
verticalClasses = [ "typedtasks-vertical" ]
boxedClasses = [ "typedtasks-boxed" ]
applyHorizontalBoxedLayout = ApplyCssClasses $ basicClasses ++ horizontalClasses ++ boxedClasses
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment