summaryrefslogtreecommitdiff
path: root/src/components/ContainedList.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ContainedList.css')
-rw-r--r--src/components/ContainedList.css21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/components/ContainedList.css b/src/components/ContainedList.css
new file mode 100644
index 0000000..97c98cc
--- /dev/null
+++ b/src/components/ContainedList.css
@@ -0,0 +1,21 @@
+@scope (.__ContainedList) {
+ :scope {
+ list-style: none;
+ padding: 0;
+ display: flex;
+ flex-direction: column;
+
+ li {
+ --border: 2px solid var(--surface);
+ border-top: var(--border);
+ &:last-child {
+ border-bottom: var(--border);
+ }
+ height: 3rem;
+ display: flex;
+ > * {
+ flex-grow: 1;
+ }
+ }
+ }
+} \ No newline at end of file