mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-09 17:52:32 +08:00
style(next)/ribbon/note info: improve the layout on constrained width
This commit is contained in:
parent
dcea67fa9d
commit
ee40bb3b33
@ -80,6 +80,35 @@ div.editability-dropdown a.dropdown-item {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
/* Narrow width layout */
|
||||
.note-info-widget {
|
||||
container: note-info / inline-size;
|
||||
}
|
||||
|
||||
@container note-info (max-width: 800px) {
|
||||
table, tbody, tr, td, th {
|
||||
display: block;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
tbody {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
tr {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
th {
|
||||
font-size: .85em;
|
||||
}
|
||||
|
||||
td {
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Attribute detail dialog
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user