Calendar: Edit dialog sizing

- Make #id on one line
- better sizing for description tab (leave it to browser)
This commit is contained in:
nathan 2022-12-02 14:18:02 -07:00
parent 3a1c415ce4
commit b0d322c98a
4 changed files with 34 additions and 16 deletions

View File

@ -438,6 +438,7 @@ Hide subsequent headers in week view with non-consolidated owners
/* Calendar Id #
*/
.calendar_calId:before {}
#calendar-edit_id { display: inline;}
#calendar-edit_id:before { content:"#"}
/* header for the dayCol
@ -1613,8 +1614,11 @@ et2-switch#calendar-toolbar_toolbar-weekend::part(label) {width: 100%; height: 1
#calendar-list_nm .nextmatch_header .search {
display: none;
}
#calendar-edit_description {height:70%;margin-bottom: 2em;}
#calendar-edit_calendar-edit-description {
display: flex;
flex-direction: column;
}
et2-textarea#calendar-edit_description {height:70%;margin-bottom: 2em;}
et2-button#calendar-toolbar_toolbar-today::part(label) {
font-weight: bold;

View File

@ -3,7 +3,7 @@
<!-- $Id$ -->
<overlay>
<template id="calendar.edit.description" template="" lang="" group="0" version="1.0.1.001">
<textbox multiline="true" id="description" rows="8" cols="70" resize_ratio="0.7"/>
<textbox multiline="true" id="description" cols="70"/>
<hbox disabled="@no_add_alarm" height="35">
<button label="Add new alarm" id="button[add_alarm]" image="add" background_image="1"/>
<menulist>
@ -14,17 +14,17 @@
<menupopup statustext="Select who should get the alarm" label="for" id="new_alarm[owner]" no_lang="1"/>
</menulist>
</hbox>
<grid id="alarm" width="100%" resize_ratio="0.3">
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="th thb">
<description value="Time"/>
<grid id="alarm" width="100%">
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="th thb">
<description value="Time"/>
<description value="before the event"/>
<description value="All participants"/>
<description value="Owner"/>

View File

@ -441,6 +441,9 @@ Hide subsequent headers in week view with non-consolidated owners
}
/* Calendar Id #
*/
#calendar-edit_id {
display: inline;
}
#calendar-edit_id:before {
content: "#";
}
@ -1595,7 +1598,11 @@ et2-switch#calendar-toolbar_toolbar-weekend::part(label) {
#calendar-list_nm .nextmatch_header .search {
display: none;
}
#calendar-edit_description {
#calendar-edit_calendar-edit-description {
display: flex;
flex-direction: column;
}
et2-textarea#calendar-edit_description {
height: 70%;
margin-bottom: 2em;
}

View File

@ -429,6 +429,9 @@ Hide subsequent headers in week view with non-consolidated owners
}
/* Calendar Id #
*/
#calendar-edit_id {
display: inline;
}
#calendar-edit_id:before {
content: "#";
}
@ -1583,7 +1586,11 @@ et2-switch#calendar-toolbar_toolbar-weekend::part(label) {
#calendar-list_nm .nextmatch_header .search {
display: none;
}
#calendar-edit_description {
#calendar-edit_calendar-edit-description {
display: flex;
flex-direction: column;
}
et2-textarea#calendar-edit_description {
height: 70%;
margin-bottom: 2em;
}