Skip to content

Commit 95b10b0

Browse files
committed
Fix checkbox menu-item formatting on phone.
1 parent 61a06ed commit 95b10b0

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

InterSpec_resources/InterSpecMobileCommon.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,14 +237,19 @@ table.RecalibCoefTable
237237
box-shadow: 3px 3px 10px rgba(0,0,0,0.6);
238238
}
239239

240-
.PopupDivMenuPhone > li > a
240+
.PopupDivMenuPhone > li
241241
{
242242
height: 30px;
243243
padding-top: 10px;
244244
padding-left: 10px;
245245
padding-right: 10px;
246246
}
247247

248+
.PopupDivMenuPhone li.Wt-separator
249+
{
250+
height: 0px;
251+
}
252+
248253

249254
.PhoneMenuBack, .PhoneMenuClose
250255
{
Lines changed: 1 addition & 1 deletion
Loading

src/PopupDiv.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,8 @@ PopupDivMenuItem *PopupDivMenu::addWidget( Wt::WWidget *widget,
11921192

11931193
item->addWidget( widget );
11941194

1195+
// We could `item->anchor()->hide();`, but we dont appear to need to.
1196+
11951197
#if(USE_OSX_NATIVE_MENU)
11961198
if( m_nsmenu )
11971199
{

0 commit comments

Comments
 (0)